glibc/benchtests/isfinite-inputs
Adhemerval Zanella 2731a326b1 benchtests: Add isnan/isinf/isfinite benchmark
* benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
	(CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
	CFLAGS-bench-isfinite.c): New rule.
	* benchtests/isnan-input: New file.
	* benchtests/isinf-input: New file.
	* benchtests/isfinite-input: New file.

Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2019-06-12 11:46:30 -03:00

22 lines
276 B
Plaintext

## includes: math.h
## args: double
## ret: int
0.9
2.3
3.7
3.9
4.0
4.7
5.9
0x1.000000cf4a2a1p0
0x1.0000010b239a8p0
0x1.00000162a932ap0
0x1.000002d452a11p0
0x1.000005bc7d86cp0
## name: INF
__builtin_inf ()
-__builtin_inf ()
## name: NAN
__builtin_nan ("")
__builtin_nans ("")