Updates:
        Status: Fixed

Comment #7 on issue 165 by benoit.m...@gmail.com: Arithmetic problem with  
float
http://code.google.com/p/gambas/issues/detail?id=165

In revision #4365:
- I done the float to string conversion a bit differently.
- I correctly detect the glibc mathematical functions.

Consequently:
- 2^23 correctly prints 8388608.
- Log2(x) uses the glibc log2(x) function, not log(x)/log(2). So  
Log2(536870912) returns 29.
- As for Frac(5.025), it can't be exact, as 0.025 has no exact binary  
representation.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to