windows-nt/Source/XPSP1/NT/base/crts/fpw32/tran/i386/fsqrt.c

24 lines
415 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/***
*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;
}