Hi Vasile,
I did some experiments with floating point math in JAL. it supports
add, subtract, multiply and divide and support functions for assign,
print (basic scientific notation only), and conversion to int
(actually, sdword). Compare functions (check for sign, zero etc) might
be usefull to add, and so might more enhanced printing functions
(scientific notation with exponenten multiples of 3, normal
presentation with a comma).
Floats are stored dwords, 24 bits for the signed mantissa and 8 bit
for the signed exponent.
It works okay, but it is of course large and not (yet) optimized for
speed, so I doubt it will meet your standards ;) Sunish has a copy but
I don't know if he actual used it yet.
I won't release it into the open source (yet), but if a more
restricted license (not allowing commercial use) is not a problem, I'm
happy to make it available to you.
Regards,
Joep
2012/10/30 vasile surducan <
vsur...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to
jal...@googlegroups.com.
> To unsubscribe from this group, send email to
>
jallib+un...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/jallib?hl=en.