windows-nt/Source/XPSP1/NT/base/crts/fpw32/tran/i386/fsqrt.c
2020-09-26 16:20:57 +08:00

24 lines
415 B
C

/***
*fsqrt.c - square root helper
*
* Copyright (c) 1991-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Square root helper routine to be used with the i386
*
*Revision History:
* 10-20-91 GDP written
*
*******************************************************************************/
double _fsqrt(double x)
{
double result;
_asm{
fld x
fsqrt
fstp result
}
return result;
}