Home
last modified time | relevance | path

Searched refs:cast_float_to_ulong (Results 1 – 1 of 1) sorted by relevance

/reactos/modules/rostests/apitests/compiler/
H A Dfloatconv.c54 unsigned long cast_float_to_ulong(float f) in cast_float_to_ulong() function
115 ok_eq_ulong(cast_float_to_ulong(0.0f), 0ul); in Test_float()
116 ok_eq_ulong(cast_float_to_ulong(1.0f), 1ul); in Test_float()
117 ok_eq_ulong(cast_float_to_ulong(0.5f), 0ul); in Test_float()
118 ok_eq_ulong(cast_float_to_ulong(0.999999f), 0ul); in Test_float()
124 ok_eq_ulong(cast_float_to_ulong(-0.0f), 0ul); in Test_float()
125 ok_eq_ulong(cast_float_to_ulong(-0.5f), 0ul); in Test_float()
126 ok_eq_ulong(cast_float_to_ulong(-1.0f), ULONG_MAX); in Test_float()
128 ok_eq_ulong(cast_float_to_ulong(-10.0f), ULONG_MAX); in Test_float()
129 ok_eq_ulong(cast_float_to_ulong(-1147483648.0f), ULONG_MAX); in Test_float()
[all …]