PYTHON: Division returns internal type: softposit.posit32_t
# runsp.py
import softposit as sp
p = sp.posit32(2.3)
d = 1.0/p
print('type(d)=', type(d))
r = d + d
$ python runsp.py
type(d)= <class 'softposit.posit32_t'>
Traceback (most recent call last):
File "runsp.py", line 5, in <module>
r = d + d
TypeError: unsupported operand type(s) for +: 'posit32_t' and 'posit32_t'