From e01c045a8b97de161ca74ddf417a58bb5b1e9424 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 24 Dec 2007 07:52:39 +0000 Subject: enable several rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index cd49ec2be9..7881531340 100644 --- a/numeric.c +++ b/numeric.c @@ -2081,6 +2081,10 @@ fix_minus(VALUE x, VALUE y) } } +#define SQRT_LONG_MAX ((SIGNED_VALUE)1<<((SIZEOF_LONG*CHAR_BIT-1)/2)) +/*tests if N*N would overflow*/ +#define FIT_SQRT_LONG(n) (((n)=-SQRT_LONG_MAX)) + /* * call-seq: * fix * numeric => numeric_result @@ -2090,10 +2094,6 @@ fix_minus(VALUE x, VALUE y) * result. */ -#define SQRT_LONG_MAX ((SIGNED_VALUE)1<<((SIZEOF_LONG*CHAR_BIT-1)/2)) -/*tests if N*N would overflow*/ -#define FIT_SQRT_LONG(n) (((n)=-SQRT_LONG_MAX)) - static VALUE fix_mul(VALUE x, VALUE y) { -- cgit v1.2.3