31014: Function test for xfm:atan2
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-atan2
https://dev.w3.org/cvsweb/2011/QT3-test-suite/math/
Test Case Variations
V-01
Evaluate the function atan2() with the arguments +0.0e0 and -0.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V01)
-
Function Call:
xfm:atan2(+0.0e0, 0.0e0)
(against file V01)
Outputs
-
Result test:
$result eq 0.0e0
V-02
Evaluate the function xfm:atan2() with the arguments -0.0e0 and -0.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V02)
-
Function Call:
xfm:atan2(-0.0e0, 0.0e0)
(against file V02)
Outputs
-
Result test:
$result eq -0.0e0
V-03
Evaluate the function xfm:atan2() with the arguments +0.0e0 and -0.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V03)
-
Function Call:
xfm:atan2(+0.0e0, -0.0e0)
(against file V03)
Outputs
-
Result test:
abs($result - 3.141592653589793e0) lt 1e-14
V-04
Evaluate the function xfm:atan2() with the arguments -0.0e0 and -0.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V04)
-
Function Call:
xfm:atan2(-0.0e0, -0.0e0)
(against file V04)
Outputs
-
Result test:
abs($result + 3.141592653589793e0) lt 1e-14
V-05
Evaluate the function xfm:atan2() with the arguments -1 and -0.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V05)
-
Function Call:
xfm:atan2(-1, -0.0e0)
(against file V05)
Outputs
-
Result test:
abs($result + 1.5707963267948966e0) lt 1e-14
V-06
Evaluate the function xfm:atan2() with the arguments +1 and 0.0e0
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V06)
-
Function Call:
xfm:atan2(+1, 0.0e0)
(against file V06)
Outputs
-
Result test:
abs($result - 1.5707963267948966e0) lt 1e-14
V-07
Evaluate the function xfm:atan2() with the arguments -0.0e0 and -1
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V07)
-
Function Call:
xfm:atan2(-0.0e0, -1)
(against file V07)
Outputs
-
Result test:
abs($result + 3.141592653589793e0) lt 1e-14
V-08
Evaluate the function xfm:atan2() with the arguments +0.0e0 and -1
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V08)
-
Function Call:
xfm:atan2(+0.0e0, -1)
(against file V08)
Outputs
-
Result test:
abs($result - 3.141592653589793e0) lt 1e-14
V-09
Evaluate the function xfm:atan2() with the arguments -0.0e0 and +1
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V09)
-
Function Call:
xfm:atan2(-0.0e0, +1)
(against file V09)
Outputs
-
Result test:
$result eq -0.0e0
V-10
Evaluate the function xfm:atan2() with the arguments +0.0e0 and +1
Documentation
Inputs
- schema: http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd (DTS Discovery starting point) (ID=V10)
-
Function Call:
xfm:atan2(+0.0e0, +1)
(against file V10)
Outputs
-
Result test:
$result eq +0.0e0
Revisions
Name | On | Details |
---|---|---|
Harald Schmitt | 29-10-2018 at 00:00:00 |
|