Judging from this header
https://gitlab.com/cerlane/SoftPosit/blob/master/source/include/softposit.h it is at least possible to create bindings for Freepascal without too much trouble. Hardware posit is usually implemented in FPGA's.
That would be 32 bit resolution Posit only for now, but given the density it has more than double the resolution of 32 bit floats if I understand it correctly.
Given that one of its main applications is AI and given that there are quite a few people on this forum interested in AI - including me - maybe we can give it a try..
- The library seems for 64 bit cpu's only according to the documentation
+ Freepascal can use overloaded operators for most operations instead of e.g. posit16_t p16_mul(posit16_t, posit16_t) we can create an operator like this:
// single example, can create full set.
operator * (const a,b:posit16_t):posit16_t
begin
Result:=p16_mul(a, b);
end;
Code like tat will make it very usable.