Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Is this a floating point precision problem?
Nuralanur
1/30/2006 10:43:00 PM
Again, if speed is not a paramount concern, you could use fractions
in your calculations:
_
http://www.ruby-doc.org/stdlib/libdoc/rational/rdoc/classes/Rati...
(
http://www.ruby-doc.org/stdlib/libdoc/rational/rdoc/classes/Rat...
)
Best regards,
Axel
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Is this a floating point precision problem?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password