Hi, 2009/11/1 Marc-Andre Lafortune <redmine / ruby-lang.org>: > A mechanism could be implemented with a thread local option, say Math.raise_on_pole = true/false, or even hook, say for example: > Math.on_pole=lambda{|object, operator, arguments, result| ... } How about Math.log_with_pole_check()? > Quote from SUSv3: A "pole error" occurs if the mathematical result of the function is an exact infinity (for example, log(0.0)). > Since it is possible to return this "exact mathematical result", I strongly believe that Ruby should return the right Infinity. +1 Just my 2 cents, -- Yusuke ENDOH <mame / tsg.ne.jp>