home *** CD-ROM | disk | FTP | other *** search
- /*********
- * _TR_HTOD.C
- *
- * by Ralph Davis
- *
- * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
- *
- * Syntax: _tr_htod( <expC> ) <expC> is hexadecimal string
- * Return: <expC> as a double precision number
- *
- * C Syntax:
- *
- * double _tr_htod(s);
- * char *s;
- *
- * Assembler usage:
- *
- * MOV AX,SEG <expC>
- * MOV BX,OFF <expC>
- * PUSH AX
- * PUSH BX
- * CALL _TR_HTOD
- * ADD SP,4
- *
- * Returns 8-byte floating-point number in AX:BX:CX:DX
- *********/
-
- #include "trlib.h"
-
- double _tr_htod(s)
- char *s;
- {
- return ((double) _tr_htol(s));
- }
-
-