diff options
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -533,6 +533,13 @@ num_to_int(VALUE num) * <code>Float</code> objects represent inexact real numbers using * the native architecture's double-precision floating point * representation. + * + * Floating point has a different arithmetic and is a inexact number. + * So you should know its esoteric system. see following: + * + * - http://docs.sun.com/source/806-3568/ncg_goldberg.html + * - http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#floats_imprecise + * - http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems */ VALUE |