From: Tanaka Akira Date: 2010-02-23T16:07:04+09:00 Subject: [ruby-core:28303] Re: Is Math module a wrapper of libm? 2010/2/23 Marc-Andre Lafortune : > 4) Since we never raise Errno::EDOM and Errno::ERANGE, should they > still be defined? They are not only for math library. % ruby -rsocket -ve ' s = Socket.new(:INET, :DGRAM) s.setsockopt(:SOCKET, :SNDTIMEO, "\x7f"*8) ' ruby 1.9.2dev (2009-09-24 trunk 25067) [i686-linux] -e:3:in `setsockopt': Numerical argument out of domain (Errno::EDOM) from -e:3:in `
' -- Tanaka Akira