Re: [PATCH] RISC-V: Support long double math

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hi Kito,

thanks, both patches pushed.

I just wonder...

On Dec  4 15:41, Kito Cheng wrote:
> diff --git a/newlib/libc/machine/riscv/machine/_fpmath.h b/newlib/libc/machine/riscv/machine/_fpmath.h
> new file mode 100644
> index 000000000..fa62ae81c
> --- /dev/null
> +++ b/newlib/libc/machine/riscv/machine/_fpmath.h
> @@ -0,0 +1,64 @@
> [...]
> +union IEEEl2bits {
> +	long double	e;
> +	struct {
> +		uint64_t	manl	:64;
> +		uint64_t	manh	:48;
> +		uint32_t	exp	:15;
> +		uint32_t	sign	:1;
> +	} bits;
> +	/* TODO andrew: Check the packing here */

...if Andrew already checked the packaging, after he pushed this
to the FreeBSD repo in 2015 :)))


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.