Re: Behaviour of round changed?

Peter Hickman <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CALxYQy5qcmbx-QdwULmncVT1-oVeu=0gKxb9fH9a=tjLJFr_Gw@mail.gmail.com>
Thanks, I get the money thing but this is price as used in calculating odds
in betting. Price is an idealised value, not monetary (no accountants
involved :))

The calculation needs to be reliable. Given a set of inputs is should
return the same outputs. In this situation we have code changing it's
outputs depending on which version of Ruby is running it

I'm glad that it is just round that has been affected and that it was a
conscious decision but I have some not inconsiderable blobs of maths for
pricing (in betting) and libraries that are used to support it

I can grep for round but the thought that I couldn't trust any number based
function is truly terrifying


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.