Hi,

Il 13/01/19 19:37, Daniel Glöckner ha scritto:
> I really like the idea of using a library to perform floating point
> operations and I also like that you made it optional.

Good!

> But it looks like you made the assumption that long double is an
> 80 bit floating point type. This is only true for x86-32. You have
> to look at the LDOUBLE_SIZE macro to determine which of float64_t,
> extFloat80_t, and float128_t to use (For x86-32 it is 12 instead of
> 10 because of padding).

I agree. As I said in my first email, for the moment the patch is
Intel-specific (and actually i386-specific). I was asking for
preliminary opinions, because if people immediately think that such a
patch would never be accepted, then I would not bother generalizing it.

BTW, it is correct to assume that for all architecture supported by tcc
float and double are always 32 and 64 bits?

Thanks, Giovanni.
-- 
Giovanni Mascellani <g.mascell...@gmail.com>
Postdoc researcher - Université Libre de Bruxelles

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to