> Instead of continuing on the old thread "A question about numbers and > representation", I decided to open a new thread avout BigDecimal to see if > we can come to closure on that separately. > > Digging a bit more into Ruby, and how it handles floating point reveals that > there is in fact no automatic fluent transition to BigDecimal. All floating > point calculations are performed with the native double representation on > the platform ruby is executing on. Since Puppet does not create any > BigDecimal numbers no one has ever been able to create a value with higher > precision in Puppet than what the native double provides (unless doing so in > custom Ruby functions I should add).
So wow, this never worked? I can't say I'm surprised. I wonder if there are any real world cases where people have done this in ruby plugins. ken. -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CAE4bNTku7SsjA7XA_nSTjopYKcyO6bVb7GQz-Gm5tO_xPR_9xA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
