home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
rettig
/
source
/
_tr_ltod.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-21
|
526b
|
35 lines
/*********
*
* _TR_LTOD.C
*
* by Ralph Davis
*
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
*
* C Syntax:
* double _tr_ltod(n)
* long n;
*
* Assembler Usage:
*
* MOV AX,<high byte>
* MOV BX,<low byte>
* PUSH AX
* PUSH BX
* CALL _TR_LTOD
* ADD SP,4
*
* Returns 8-byte floating point number in AX:BX:CX:DX
*
*********/
#include "trlib.h"
double _tr_ltod(n)
long n;
{
return ((double) n);
}