Skip to content
JervenBolleman edited this page May 29, 2019 · 1 revision

exp

Signature

 xsd:double  EXP10 (numeric)

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.

This function is derived from as math:exp10.

ASK {FILTER(EXP10(0) = "1.0e0"^^xsd:double)}
ASK {FILTER(EXP10(1) = "1.0e1"^^xsd:double)}
ASK {FILTER(EXP10(0.5) = "3.1622776601683795e0"^^xsd:double)}
ASK {FILTER(EXP10(-1) = "1.0e-1"^^xsd:double)}

Should return true

exp10() called without a variable/value should be a parse error.

exp10() cast with a numeric should have an attempted cast to the xsd:double.