[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


IS_IEEE_BIG Source code in is_ieee_big.pro

IS_IEEE_BIG

Name
       IS_IEEE_BIG
Purpose
       Determine if the current machine uses IEEE, big-endian numbers.
Explanation
       (Big endian implies that byteorder XDR conversions are no-ops).
Calling Sequence
       flag = is_ieee_big()
Input Parameters
       None
Returns
       1 if the machine appears to be IEEE-compliant, 0 if not.
Common Blocks
       None.
Side Effects
       None
Restrictions

Procedure
       The first byte of the two-byte representation of 1 is examined.
       If it is zero, then the data is stored in big-endian order.
Revision History
       Written 15-April-1996 by T. McGlynn for use in MRDFITS.
       13-jul-1997     jkf/acc - added calls to check_math to avoid
                                 underflow messages in V5.0 on Win32 (NT).
       Converted to IDL V5.0   W. Landsman   September 1997
       Follow RSI and just do a single test  W. Landsman   April 2003

Last modified by pro2html on 2003 April 11 at 03:55 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically