mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:02:02 +00:00
[CRT]
- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC - Add a workaround to prevent some functions from being inlined - Move sqrtf out of i386 directory - Convert a number of inline assembly functions to raw assembly svn path=/branches/cmake-bringup/; revision=49534
This commit is contained in:
parent
5e6639c9b2
commit
84b1635034
19 changed files with 130 additions and 175 deletions
12
lib/sdk/crt/math/sqrtf.c
Normal file
12
lib/sdk/crt/math/sqrtf.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
#include <math.h>
|
||||
|
||||
float
|
||||
_sqrtf(float x)
|
||||
{
|
||||
return ((float)sqrt((double)x));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue