View Single Post
  #14   Spotlight this post!  
Unread 05-02-2007, 02:12
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: printing FLOAT data type on the terminal window

For the same exponent, which is what you'll get when you align float exponents for math operations, you only have 24 bits to represent your number. Longs are 32 bits. Using fixed point arithematic with longs is more precise than using floats as longs have 8 more bits of data than floats.