Bug in nDbl2Flt()

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Bug in nDbl2Flt()

Post by Enrico Maria Giordano »

This is the fixed line:

Code: Select all

ui = ( ( short * )( &d ) )[3] & 0xfff0;             // Get exponent
Note short type instead of int.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply