H.J. Lu 91c318e7b9 s_sinf.c: Replace floor with simple casts
Since s_sinf.c either assigns the return value of floor to integer or
passes double converted from integer to floor, this patch replaces
floor with simple casts.

Also since long == int for 32-bit targets, we can use long instead of
int to avoid 64-bit integer for 64-bit targets.

On Skylake, bench-sinf reports performance improvement:

           Before        After         Improvement
max        130.566       129.564           30%
min        7.704         7.706             0%
mean       21.8188       19.1363           30%

	* sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
	int.
	(SINF_FUNC): Likewise.  Replace floor with simple casts.
2017-12-05 08:47:27 -08:00
..
2017-11-28 01:19:03 +00:00
2017-11-16 11:49:26 +05:30
2017-11-29 00:10:35 +00:00
2017-11-29 17:38:35 +00:00
2017-11-30 23:52:35 +00:00
2017-11-30 16:34:09 -08:00
2017-12-05 00:26:26 +00:00
2017-11-28 17:34:13 +00:00
2017-11-27 14:16:47 +00:00
2017-11-29 21:25:41 +00:00