[Insight-developers] Non-ITK question
Johnson, Hans J
hans-johnson at uiowa.edu
Fri Mar 11 11:39:20 EST 2011
Brad: Thanks.
Rick: Given Brad's extensive experience, I think that going with double
is a very reasonable solution.
Hans
On 3/11/11 10:32 AM, "Brad King" <brad.king at kitware.com> wrote:
>On 03/11/2011 09:39 AM, Johnson, Hans J wrote:
>> Would you mind providing me with a quick response regarding the
>> long-term (say 10 years) safety of depending on sizeof(double) being 8
>> bytes in C?
>
>I cannot say anything authoritative, but I would be surprised if the
>representation under 'double' changes any time soon. A lot of software
>depends on the current size. Even if it does change there will likely
>be a new type name that refers to the same layout that one may use to
>substitute in the header struct.
>
>Note that you still need to deal with byte order!
>
>> Any recommendations so that we maximize maintainability and portability
>> to next generation 128bit computers?
>
>I've had no experience that qualifies me to comment on this one ;)
>
>-Brad
________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
________________________________
More information about the Insight-developers
mailing list