math:exp10
Returns the value of 10
x.
Signature
math:exp10($arg as xs:double?) as xs:double?
Properties
This function is deterministic, context-independent, and focus-independent.
Rules
If $arg
is the empty sequence, the function returns the empty sequence.
Otherwise the result is ten raised to the power of $arg
, as defined in the
[IEEE 754-2008] specification of the exp10
function applied
to 64-bit binary floating point values.
Notes
The treatment of overflow and underflow is defined in Arithmetic operators on numeric values.
Examples
The expression math:exp10(())
returns ()
.
The expression math:exp10(0)
returns 1.0e0
.
The expression math:exp10(1)
returns 1.0e1
.
The expression math:exp10(0.5)
returns 3.1622776601683795e0
.
The expression math:exp10(-1)
returns 1.0e-1
.
The expression math:exp10(xs:double('NaN'))
returns xs:double('NaN')
.
The expression math:exp10(xs:double('INF'))
returns xs:double('INF')
.
The expression math:exp10(xs:double('-INF'))
returns 0.0e0
.