Commit 6503ed4a authored by Aaron Watry's avatar Aaron Watry

cl/relational: Add isunordered tests

Signed-off-by: Aaron Watry's avatarAaron Watry <awatry@gmail.com>
Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
parent 93ddb50b
......@@ -40,6 +40,7 @@ CLC_VERSION_MIN = {
'isnormal' : 10,
'isnotequal' : 10,
'isordered' : 10,
'isunordered' : 10,
'signbit' : 10
}
......@@ -158,6 +159,15 @@ tests = {
[0.0, float("nan"), 1.0, float("nan"), 1.0, float("inf"), 0.5, 1.0 ] # Arg1
]
},
'isunordered' : {
'arg_types': [I, F, F],
'function_type': 'ttt',
'values': [
[0, TRUE, 0, TRUE, TRUE, 0, 0, 0], # Result
[0.0, float("nan"), 1.0, 1.0, float("nan"), float("inf"), 1.0, 0.5 ], # Arg0
[0.0, float("nan"), 1.0, float("nan"), 1.0, float("inf"), 0.5, 1.0 ] # Arg1
]
},
'signbit' : {
'arg_types': [I, F],
'function_type': 'ttt',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment