msvcp140_2: Implement __std_smf_hypot3.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56078
This commit is contained in:
parent
4240c8180e
commit
fca71b6ef8
3 changed files with 31 additions and 2 deletions
|
@ -1 +1,4 @@
|
|||
MODULE = msvcp140_2.dll
|
||||
|
||||
SOURCES = \
|
||||
math.c
|
||||
|
|
26
dlls/msvcp140_2/math.c
Normal file
26
dlls/msvcp140_2/math.c
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Special math functions
|
||||
*
|
||||
* Copyright 2024 Alex Henrie
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
|
||||
double __stdcall __std_smf_hypot3(double x, double y, double z)
|
||||
{
|
||||
return hypot(hypot(x, y), z);
|
||||
}
|
|
@ -58,8 +58,8 @@
|
|||
@ stub -arch=!i386 __std_smf_hermite
|
||||
@ stub -arch=i386 ___std_smf_hermitef@8
|
||||
@ stub -arch=!i386 __std_smf_hermitef
|
||||
@ stub -arch=i386 ___std_smf_hypot3@24
|
||||
@ stub -arch=!i386 __std_smf_hypot3
|
||||
@ stdcall -arch=i386 ___std_smf_hypot3@24(double double double) __std_smf_hypot3
|
||||
@ stdcall -arch=!i386 __std_smf_hypot3(double double double)
|
||||
@ stub -arch=i386 ___std_smf_hypot3f@12
|
||||
@ stub -arch=!i386 __std_smf_hypot3f
|
||||
@ stub -arch=i386 ___std_smf_laguerre@12
|
||||
|
|
Loading…
Add table
Reference in a new issue