Floating point number format?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Brendan
Posts: 296
Joined: 15.07.2003
With us: 21 years 4 months
Location: Bellows Falls, VT
Contact:

Floating point number format?

Post #1by Brendan » 13.02.2004, 20:50

Are the floating point numbers in stars.dat in the IEEE 754 format? Here is a web page about it in case anyone wants to know what it is. http://grouper.ieee.org/groups/754/

Brendan

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #2by chris » 13.02.2004, 22:22

Yes, the floating point values for RA, declination, and parallax are stored as IEEE 754 single precision floating point values with little-endian byte ordering.

--Chris


Return to “Development”