diff --git a/numeric.c b/numeric.c index 740ef5442d..25c9e73e44 100644 --- a/numeric.c +++ b/numeric.c @@ -533,6 +533,13 @@ num_to_int(VALUE num) * Float 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