ruby-changes:28977
From: nobu <ko1@a...>
Date: Sun, 2 Jun 2013 14:59:50 +0900 (JST)
Subject: [ruby-changes:28977] nobu:r41029 (trunk): math.c: ASCII minus
nobu 2013-06-02 14:59:40 +0900 (Sun, 02 Jun 2013) New Revision: 41029 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41029 Log: math.c: ASCII minus * math.c: use ASCII minus (-) instead of U+2212. Modified files: trunk/math.c Index: math.c =================================================================== --- math.c (revision 41028) +++ math.c (revision 41029) @@ -40,7 +40,7 @@ VALUE rb_eMathDomainError; https://github.com/ruby/ruby/blob/trunk/math.c#L40 * Computes the arc tangent given +y+ and +x+. * Returns a Float in the range -PI..PI. * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * * Codomain: [-PI, PI] * @@ -86,7 +86,7 @@ math_atan2(VALUE obj, VALUE y, VALUE x) https://github.com/ruby/ruby/blob/trunk/math.c#L86 * Computes the cosine of +x+ (expressed in radians). * Returns a Float in the range -1.0..1.0. * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * * Codomain: [-1, 1] * @@ -108,7 +108,7 @@ math_cos(VALUE obj, VALUE x) https://github.com/ruby/ruby/blob/trunk/math.c#L108 * Computes the sine of +x+ (expressed in radians). * Returns a Float in the range -1.0..1.0. * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * * Codomain: [-1, 1] * @@ -130,9 +130,9 @@ math_sin(VALUE obj, VALUE x) https://github.com/ruby/ruby/blob/trunk/math.c#L130 * * Computes the tangent of +x+ (expressed in radians). * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * - * Codomain: (NFINITY, INFINITY) + * Codomain: (-INFINITY, INFINITY) * * Math.tan(0) #=> 0.0 * @@ -204,7 +204,7 @@ math_asin(VALUE obj, VALUE x) https://github.com/ruby/ruby/blob/trunk/math.c#L204 * * Computes the arc tangent of +x+. Returns -PI/2..PI/2. * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * * Codomain: (-PI/2, PI/2) * @@ -232,7 +232,7 @@ cosh(double x) https://github.com/ruby/ruby/blob/trunk/math.c#L232 * * Computes the hyperbolic cosine of +x+ (expressed in radians). * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * * Codomain: [1, INFINITY) * @@ -261,9 +261,9 @@ sinh(double x) https://github.com/ruby/ruby/blob/trunk/math.c#L261 * * Computes the hyperbolic sine of +x+ (expressed in radians). * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * - * Codomain: (NFINITY, INFINITY) + * Codomain: (-INFINITY, INFINITY) * * Math.sinh(0) #=> 0.0 * @@ -290,9 +290,9 @@ tanh(double x) https://github.com/ruby/ruby/blob/trunk/math.c#L290 * * Computes the hyperbolic tangent of +x+ (expressed in radians). * - * Domain: (NFINITY, INFINITY) + * Domain: (-INFINITY, INFINITY) * - * Codomain: (, 1) + * Codomain: (-1, 1) * * Math.tanh(0) #=> 0.0 * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/