mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 06:10:06 +00:00
0a4d6c8254
This patch adds more benchtests for rounding functions. The double inputs are copied from trunc-inputs, the float inputs are copied from truncf-inputs. and the rintf is copied from rint-inputs. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
22 lines
176 B
Plaintext
22 lines
176 B
Plaintext
## args: float
|
|
## ret: float
|
|
## includes: math.h
|
|
0.0f
|
|
-0.0f
|
|
0.001f
|
|
-0.001f
|
|
0.5f
|
|
-0.5f
|
|
0.999f
|
|
-0.999f
|
|
1.0f
|
|
-1.0f
|
|
1.001f
|
|
-1.001f
|
|
123.5f
|
|
-123.5f
|
|
12345.1f
|
|
-1000000.5f
|
|
1e15f
|
|
-1e30f
|