Re: base not detecting Double/Float machine sizes (QNXNTO)
Stephen Paul Weber <[email protected]> Mon, 7 Jan 2013 14:22:57 -0500
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <20130107192257.GJ1846@singpolyma-svelti> |
--===============2438445410120174475== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="STPqjqpCrtky8aYs" Content-Disposition: inline --STPqjqpCrtky8aYs Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Somebody claiming to be Daniel Fischer wrote: >On Monday 07 January 2013, 12:17:41, Stephen Paul Weber wrote: >> I think my vote would be to restructure the checks such that non-integral >> types are specially handled. > >The purpose of the test was to check whether two types have the same size,= if >I recall correctly? Yes, and that is already partly specially handled. The "is it integral"=20 check is sort of interesting, but we can know for sure that float, double,= =20 and long double are not and just skip to the sizeof() check. --=20 Stephen Paul Weber, @singpolyma See <http://singpolyma.net> for how I prefer to be contacted edition right joseph --STPqjqpCrtky8aYs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQ6yCQAAoJENEcKRHOUZzeN20P/RcZaY4hYkHVoDbMlgcgqOj2 B0G7XrXEHQ+KUTqW6N/xVVrQ9IfK1uMMANFYPArnznX2Vkm0v7H2884ZNBs6hK+G POrI4Zxmut6xLps8OrPXobrhrEz+PQK9j2bN7sI8ydEDKjsGUk+dkz/S2OchV6sU 8xwmjORsAAxxxcJWlCizR5LZaOqEoYa85cgFtOzuGsveosebVLSLrl9D+X/pFZXb U4vtcK9hhtAKYnAnuxDgv2Z0/YfEc12ZcMNSuTnMMNCM1O1XNag8R8JjuQ7QNlL1 zLdmDrygYfXmJTkiCT3x9fVyX697aDH3x1ZKrxeNVzXno642biYuBvrlNKmAuKaJ kw35fQCOgZ6dJYH/hcfdZ0x1Wd68m+UmIWJO3ncbCVMX/q3d5PQ/WbITOoOWIqmg zjp2ymWAqaRg3W0eFpbCMulnMsYIEezWhrdH5ucM9/LGcktCI4jDsi3pQlQ8VxgS PjFdVY0cInIGIHQPb5oTuXvc4t3ZIGRLVKxys+jxOTt796n/GFUlebEI0pnHQeJL 7k4eBEoOsTRC5fVtJUBZ1CTT0OBQVceegX/zXnuwLDxJnVhBnZxVN/HGLvAD3g+g gRkTPTI2WoQfwvnFja2lXOqx+Oy4afBwfkps2XqYQpEe9ymlL+i6Dcucb7b7OBpt qFXHR3x+JIMt0iuq3VLZ =Uer/ -----END PGP SIGNATURE----- --STPqjqpCrtky8aYs-- --===============2438445410120174475== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc --===============2438445410120174475==--