4 Oct
2020
4 Oct
'20
9:38 a.m.
I suspect the floating-point hardware itself isn't fit for IEEE 754 You‘re right; NaN (NaNs and NaNq) is not implemented in RISC5. Converting correctly strings to/from floating is surprisingly an extremely difficult task.
One quick remark: It is true that FLOOR cannot handle values >MAX (2^31-1=2147483647) as those values cannot be stored in an RISC-5 INTEGER. Remember that on RISC-5 i = FLOOR(FLT(i)) is not guaranteed to be true for INTEGERs i > 16777216 br Jörg