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 <[email protected]>: > Hi all, > > I'm starting a project (gathering information till now) about interfacing an > IR array sensor MLX90620 > http://www.youtube.com/watch?v=G-aV3H8OVAQ with a TFT display. > > The problem is that MLX90620 require serious computational algorithms given > by the Stefan-Boltzmann law, including a fourth order square root for > temperature computation. Probably this can be done with long fixed point > math, I didn't tested anything yet, but will be difficult anyway... > > There is some experience here with any floating point library (including > assembler) which has been successfully used with jal? > > thx, > Vasile > > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
