31006: Function test for xfm:pow
Documentation
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Harald Schmitt |
|
harald.schmitt@abz-reporting.com | 29-10-2018 at 00:00:00 |
References
https://www.w3.org/TR/xpath-functions-31/#func-math-pow
https://dev.w3.org/cvsweb/2011/QT3-test-suite/math/
Test Case Variations
V-01
Evaluate the function xfm:pow() with the arguments () and 93.7
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V01)
-
Function Call:
xfm:pow((), 93.7)
(against file V01)
Outputs
-
Result test:
empty($result)
V-02
Evaluate the function xfm:pow() with the arguments 2 and 3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V02)
-
Function Call:
xfm:pow(2, 3)
(against file V02)
Outputs
-
Result test:
$result eq 8.0e0
V-03
Evaluate the function xfm:pow() with the arguments -2 and 3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V03)
-
Function Call:
xfm:pow(-2, 3)
(against file V03)
Outputs
-
Result test:
$result eq -8.0e0
V-04
Evaluate the function xfm:pow() with the arguments -2 and -3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V04)
-
Function Call:
xfm:pow(-2, -3)
(against file V04)
Outputs
-
Result test:
$result eq -0.125e0
V-05
Evaluate the function xfm:pow() with the arguments 2 and 0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V05)
-
Function Call:
xfm:pow(2, 0)
(against file V05)
Outputs
-
Result test:
$result eq 1.0e0
V-06
Evaluate the function xfm:pow() with the arguments 0 and 0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V06)
-
Function Call:
xfm:pow(0, 0)
(against file V06)
Outputs
-
Result test:
$result eq 1.0e0
V-07
Evaluate the function xfm:pow() with the arguments xs:double('INF') and 0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V07)
-
Function Call:
xfm:pow(xs:double('INF'), 0)
(against file V07)
Outputs
-
Result test:
$result eq 1.0e0
V-08
Evaluate the function xfm:pow() with the arguments xs:double('NaN') and 0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V08)
-
Function Call:
xfm:pow(xs:double('NaN'), 0)
(against file V08)
Outputs
-
Result test:
$result eq 1.0e0
V-09
Evaluate the function xfm:pow() with the arguments -xfm:pi() and 0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V09)
-
Function Call:
xfm:pow(-xfm:pi(), 0)
(against file V09)
Outputs
-
Result test:
$result eq 1.0e0
V-10
Evaluate the function xfm:pow() with the arguments 0e0 and 3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V10)
-
Function Call:
xfm:pow(0e0, 3)
(against file V10)
Outputs
-
Result test:
$result eq 0.0e0
V-11
Evaluate the function xfm:pow() with the arguments 0e0 and 4
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V11)
-
Function Call:
xfm:pow(0e0, 4)
(against file V11)
Outputs
-
Result test:
$result eq 0.0e0
V-12
Evaluate the function xfm:pow() with the arguments -0e0 and 3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V12)
-
Function Call:
xfm:pow(-0e0, 3)
(against file V12)
Outputs
-
Result test:
$result eq -0.0e0
V-13
Evaluate the function xfm:pow() with the arguments 0 and 4
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V13)
-
Function Call:
xfm:pow(0, 4)
(against file V13)
Outputs
-
Result test:
$result eq 0.0e0
V-14
Evaluate the function xfm:pow() with the arguments 0e0 and -3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V14)
-
Function Call:
xfm:pow(0e0, -3)
(against file V14)
Outputs
-
Result test:
$result eq xs:double('INF')
V-15
Evaluate the function xfm:pow() with the arguments 0e0 and -4
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V15)
-
Function Call:
xfm:pow(0e0, -4)
(against file V15)
Outputs
-
Result test:
$result eq xs:double('INF')
V-16
Evaluate the function xfm:pow() with the arguments -0e0 and -3
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V16)
-
Function Call:
xfm:pow(-0e0, -3)
(against file V16)
Outputs
-
Result test:
$result eq xs:double('-INF')
V-17
Evaluate the function xfm:pow() with the arguments 0 and -4
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V17)
-
Function Call:
xfm:pow(0, -4)
(against file V17)
Outputs
-
Result test:
$result eq xs:double('INF')
V-18
Evaluate the function xfm:pow() with the arguments 16 and 0.5e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V18)
-
Function Call:
xfm:pow(16, 0.5e0)
(against file V18)
Outputs
-
Result test:
$result eq 4.0e0
V-19
Evaluate the function xfm:pow() with the arguments 16 and 0.25e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V19)
-
Function Call:
xfm:pow(16, 0.25e0)
(against file V19)
Outputs
-
Result test:
$result eq 2.0e0
V-20
Evaluate the function xfm:pow() with the arguments 0e0 and -3.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V20)
-
Function Call:
xfm:pow(0e0, -3.0e0)
(against file V20)
Outputs
-
Result test:
$result eq xs:double('INF')
V-21
Evaluate the function xfm:pow() with the arguments -0e0 and -3.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V21)
-
Function Call:
xfm:pow(-0e0, -3.0e0)
(against file V21)
Outputs
-
Result test:
$result eq xs:double('-INF')
V-22
Evaluate the function xfm:pow() with the arguments 0e0 and -3.1e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V22)
-
Function Call:
xfm:pow(0e0, -3.1e0)
(against file V22)
Outputs
-
Result test:
$result eq xs:double('INF')
V-23
Evaluate the function xfm:pow() with the arguments -0e0 and -3.1e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V23)
-
Function Call:
xfm:pow(-0e0, -3.1e0)
(against file V23)
Outputs
-
Result test:
$result eq xs:double('INF')
V-24
Evaluate the function xfm:pow() with the arguments 0e0 3.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V24)
-
Function Call:
xfm:pow(0e0, 3.0e0)
(against file V24)
Outputs
-
Result test:
$result eq 0.0e0
V-25
Evaluate the function xfm:pow() with the arguments -0e0 and 3.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V25)
-
Function Call:
xfm:pow(-0e0, 3.0e0)
(against file V25)
Outputs
-
Result test:
$result eq 0.0e0
V-26
Evaluate the function xfm:pow() with the arguments 0e0 3.1e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V26)
-
Function Call:
xfm:pow(0e0, 3.1e0)
(against file V26)
Outputs
-
Result test:
$result eq 0.0e0
V-27
Evaluate the function xfm:pow() with the arguments -0e0 and 3.1e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V27)
-
Function Call:
xfm:pow(-0e0, 3.1e0)
(against file V27)
Outputs
-
Result test:
$result eq 0.0e0
V-28
Evaluate the function xfm:pow() with the arguments -1 and xs:double('INF')
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V28)
-
Function Call:
xfm:pow(-1, xs:double('INF'))
(against file V28)
Outputs
-
Result test:
$result eq 1.0e0
V-29
Evaluate the function xfm:pow() with the arguments -1 and xs:double('-INF')
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V29)
-
Function Call:
xfm:pow(-1, xs:double('-INF'))
(against file V29)
Outputs
-
Result test:
$result eq 1.0e0
V-30
Evaluate the function xfm:pow() with the arguments 1 and xs:double('INF')
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V30)
-
Function Call:
xfm:pow(1, xs:double('INF'))
(against file V30)
Outputs
-
Result test:
$result eq 1.0e0
V-31
Evaluate the function xfm:pow() with the arguments 1 and xs:double('-INF')
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V31)
-
Function Call:
xfm:pow(1, xs:double('-INF'))
(against file V31)
Outputs
-
Result test:
$result eq 1.0e0
V-32
Evaluate the function xfm:pow() with the arguments 1 and xs:double('NaN')
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V32)
-
Function Call:
xfm:pow(1, xs:double('NaN'))
(against file V32)
Outputs
-
Result test:
$result eq 1.0e0
V-33
Evaluate the function xfm:pow() with the arguments -2.5 and 2.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V33)
-
Function Call:
xfm:pow(-2.5e0, 2.0e0)
(against file V33)
Outputs
-
Result test:
$result eq 6.25e0
V-34
Evaluate the function xfm:pow() with the arguments -2.5 and 2.0000001
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V34)
-
Function Call:
xfm:pow(-2.5e0, 2.00000001e0)
(against file V34)
Outputs
-
Result test:
string($result) eq 'NaN'
Revisions
Name | On | Details |
---|---|---|
Harald Schmitt | 29-10-2018 at 00:00:00 |
|