mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
This patch adds benchtests for the roundeven and roundevenf functions. The inputs are copied from trunc-inputs.alistair/rv32.next
committed by
Joseph Myers
3 changed files with 47 additions and 2 deletions
@ -0,0 +1,22 @@ |
|||
## args: double |
|||
## ret: double |
|||
## includes: math.h |
|||
0.0 |
|||
-0.0 |
|||
0.001 |
|||
-0.001 |
|||
0.5 |
|||
-0.5 |
|||
0.999 |
|||
-0.999 |
|||
1.0 |
|||
-1.0 |
|||
1.001 |
|||
-1.001 |
|||
123.5 |
|||
-123.5 |
|||
12345.1 |
|||
-1000000.1 |
|||
1e15 |
|||
-1e30 |
|||
1e200 |
|||
@ -0,0 +1,21 @@ |
|||
## 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 |
|||
Loading…
Reference in new issue