comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Q: type matching with IEEE 754 double and Intel endianess
Date: Sat, 08 Dec 2012 07:31:27 +0100
Date: 2012-12-08T07:31:27+01:00	[thread overview]
Message-ID: <k9ums0$6hs$1@dont-email.me> (raw)
In-Reply-To: <87c30a6b-cd6b-4f96-b6ea-3358f40c1a54@googlegroups.com>

Le 07/12/2012 09:54, gautier_niouzes@hotmail.com a �crit :
> Now, assume the program is running on a machine where Long_Float is actually IEEE_754, and endianess is the Intel one.
> Is there a "solid" way to prove with some check that it is the case ?
Uncheck_Convert it to an array of bits, and compare against the expected
pattern. Unchecked_Conversion is precisely for that: getting at the
underlying representation

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr



  reply	other threads:[~2012-12-08  6:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07  8:54 Q: type matching with IEEE 754 double and Intel endianess gautier_niouzes
2012-12-08  6:31 ` J-P. Rosen [this message]
2012-12-08 20:17   ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox