You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/rdf/model/literal/numeric.rb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -126,16 +126,16 @@ def *(other)
126
126
##
127
127
# Exponent − Performs exponential (power) calculation on operators.
128
128
#
129
-
# If other is an instance of xs:integer, the result is self raised to the power of other as defined in the [IEEE 754-2008] specification of the pown function applied to a 64-bit binary floating point value and an integer.
130
-
#
131
-
# Otherwise $y is converted to an xs:double by numeric promotion, and the result is the value of $x raised to the power of $y as defined in the [IEEE 754-2008] specification of the pow function applied to two 64-bit binary floating point values.
129
+
# Promotes values, as necessary, with the result type depending on the input values.
132
130
#
133
131
# @param [Literal::Numeric, #to_i, #to_f, #to_d] other
0 commit comments