mathlib: check for x86 architecture in SinCos

This commit is contained in:
nillerusr 2020-11-16 20:37:58 +03:00
parent f930f46fb0
commit 2d035e9c5a

View File

@ -193,7 +193,7 @@ SinCos
*/ */
void SinCos( float radians, float *sine, float *cosine ) void SinCos( float radians, float *sine, float *cosine )
{ {
#ifdef _MSC_VER #if defined _MSC_VER && defined(__i386__)
_asm _asm
{ {
fld dword ptr [radians] fld dword ptr [radians]