core/float.rbs in rbs-3.4.0 vs core/float.rbs in rbs-3.4.1
- old
+ new
@@ -335,21 +335,19 @@
def abs: () -> Float
def abs2: () -> Float
# <!-- rdoc-file=complex.c -->
- # Returns 0 if the value is positive, pi otherwise.
+ # Returns 0 if `self` is positive, Math::PI otherwise.
#
def angle: () -> (Integer | Float)
# <!--
# rdoc-file=complex.c
- # - flo.arg -> 0 or float
- # - flo.angle -> 0 or float
- # - flo.phase -> 0 or float
+ # - arg -> 0 or Math::PI
# -->
- # Returns 0 if the value is positive, pi otherwise.
+ # Returns 0 if `self` is positive, Math::PI otherwise.
#
alias arg angle
# <!--
# rdoc-file=numeric.c
@@ -706,10 +704,10 @@
# See also Float#denominator.
#
def numerator: () -> Integer
# <!-- rdoc-file=complex.c -->
- # Returns 0 if the value is positive, pi otherwise.
+ # Returns 0 if `self` is positive, Math::PI otherwise.
#
alias phase angle
def polar: () -> [ Float, Integer | Float ]