Commit ee775a79 authored by Aaron Watry's avatar Aaron Watry
Browse files

CL: Add ldexp tests


Signed-off-by: Aaron Watry's avatarAaron Watry <awatry@gmail.com>
Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
parent 60059c6c
......@@ -48,6 +48,7 @@ CLC_VERSION_MIN = {
'fabs' : 10,
'floor' : 10,
'fmod' : 10,
'ldexp' : 10,
'log1p' : 10,
'mix' : 10,
'nextafter' : 10,
......@@ -68,6 +69,10 @@ F = {
'float' : 'float'
}
I = {
'float' : 'int'
}
tests = {
'acos' : {
'arg_types' : [F, F],
......@@ -231,6 +236,16 @@ tests = {
],
'tolerance' : 0
},
'ldexp' : {
'arg_types': [F, F, I],
'function_type': 'tss',
'values': [
[0.0, 4.0, 15.2, 1.75, float("nan"), float("inf")],
[0.0, 1.0, 0.95, 3.5, float("nan"), 1.12312312],
[0, 2, 4, -1, 1, 2031231231]
],
'tolerance' : 0
},
'log1p' : {
'arg_types': [F, 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