[PATCH 2/2] RISC-V: Implment finite and fpclassify

Keith Packard keithp@keithp.com
Tue Oct 27 18:11:18 GMT 2020


Kito Cheng <kito.cheng@sifive.com> writes:

> +int
> +isinf (double x)
> +{
> +	long fclass = _fclass_d (x);
> +	return (fclass & FCLASS_INF);
> +}
> +#else
> +#include "../../common/sf_isinf.c"
> +#endif

You probably want to include s_isinf.c here instead of sf_isinf.c

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20201027/3d20cb18/attachment.sig>


More information about the Newlib mailing list