Commit Graph

95 Commits

Author SHA1 Message Date
Piotr Caban d7dd5d8fe4 msvcr100: Fix compilation on NetBSD (conflicting fenv_t definitions).
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:35:12 +09:00
Piotr Caban 1150c0454d msvcr120: Add fegetenv implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:04 +09:00
Piotr Caban 6b6f3406f4 ucrtbase: Add __fpe_flt_rounds implementation.
Based on a patch by Alex Henrie.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 19:46:38 +09:00
Francois Gouget 8e382e97e9 msvcrt: The fpclass() constants are not defines.
Solaris is the only platform that has fpclass() and it defines
the constants in the fpclass_t enum.
So this reverts commit b004771314.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 14:48:52 +09:00
Daniel Lehman d9a0c55e7e msvcr120: Add remainder.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 20:58:11 +09:00
Daniel Lehman 9acfcb0eba msvcr120: Add scalbn.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Daniel Lehman e084240415 msvcr120: Add asinh.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 19:49:41 +09:00
Piotr Caban 68fedc1268 msvcr120: Add _set_FMA3_enable stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 14:31:46 +09:00
Piotr Caban 4083af404b msvcr120: Add _dpcomp implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 01:59:58 +09:00
Piotr Caban 0806b06f2b msvcrt: Fix modff signature.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 01:06:46 +09:00
YongHao Hu 072f34be73 msvcr120: Enable MSVCRT__nextafterf when _MSVCR_VER>=120.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:51:59 +01:00
Paul Gofman a3c818b33d msvcrt: Rename __libm_sse2_* functions to fix compilation when using Intel compiler.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 13:51:32 +01:00
Piotr Caban 09a727c33c msvcr120: Add fmin implementation. 2015-09-14 16:47:52 +09:00
Daniel Lehman e89813fe3c msvcr120: Add erf functions. 2015-05-29 16:16:21 +09:00
Piotr Caban 530d269e01 msvcr120: Add _dsign implementation. 2015-05-26 22:44:52 +09:00
Piotr Caban ec2f02db0c msvcr120: Add fmax implementation. 2015-05-26 22:44:47 +09:00
Piotr Caban ccea6c6059 msvcr120: Add some missing exports on i386 architecture. 2015-03-31 14:44:49 +09:00
Zheng Chen 829e893184 msvcrt: Fix _copysign bugs for NAN/INF. 2015-03-27 00:11:42 +09:00
Zheng Chen e95dbb3b74 msvcrt: Correct atan/exp/tanh errno setting. 2015-03-25 19:46:33 +09:00
Charles Davis 7ef720f184 msvcrt: Support 64-bit platforms that don't have finitef or isnanf. 2015-01-23 11:58:14 +01:00
Piotr Caban 1109672f13 msvcr120: Add _fdtest function implementation. 2015-01-07 23:48:21 +01:00
Martin Storsjo 5f395ee8e6 msvcr120: Implement the _dclass/_fdclass/_ldclass functions. 2014-12-09 18:48:49 +01:00
Martin Storsjo 547ba7a10b msvcr120: Implement more C99 math functions. 2014-12-08 17:25:26 +01:00
Nikolay Sivov 60de49770c msvcrt: Implement llabs(). 2014-08-29 20:38:42 +02:00
Piotr Caban 153965b627 msvcrt: Fix __libm_sse2_sqrt_precise implementation. 2014-05-19 18:55:53 +02:00
Alexandre Julliard 0c496f0280 msvcrt: Update comments for non-exported functions. 2014-04-21 14:32:40 +02:00
Piotr Caban e70bf5f8c6 msvcrt: Fix compilation errors on Mingw. 2014-04-16 18:00:01 +02:00
Piotr Caban 07566faaca msvcr110: Add __libm_sse2_sqrt_precise implementation. 2014-01-07 16:34:33 +01:00
Francois Gouget 0b5b54e9f4 msvcrt: Standardize on using a comparison operator to ensure we return 0 or 1. 2013-12-02 10:49:38 +01:00
Francois Gouget e4856dbb70 libport: Add an isfinite() implementation for Solaris. 2013-11-29 17:58:40 +01:00
André Hentschel 8fab2422a8 msvcrt: Export fabsf on ARM and x86_64. 2013-09-04 14:43:45 +02:00
Alexandre Julliard 599d080220 msvcrt: Export the float math functions on ARM. 2013-03-14 13:20:13 +01:00
Austin English a79de8aa29 msvcrt: Implement _ftol in msvcrt instead of forwarding to ntdll. 2012-12-14 12:13:39 +01:00
Alexandre Julliard f80d443f5c msvcrt: Add a number of floating point functions for 64-bit. 2012-08-16 18:09:47 +02:00
Alexandre Julliard 06989a0483 msvcrt: Make sure that errno is always set when calling the invalid parameter handler. 2012-07-26 11:05:32 +02:00
Frédéric Delanoy 7bfe648666 msvcrt: Avoid superfluous cast of MSVCRT_malloc return value. 2011-10-21 12:31:36 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Piotr Caban f9de4eef75 msvcrt: Fix mingw compilation issues. 2011-06-03 17:44:06 +02:00
Alexandre Julliard abe0823b72 msvcrt: Implemented a few trivial math functions. 2011-05-01 12:52:35 +02:00
Piotr Caban f48cfa2be0 msvcrt: Fix buffer size in _ecvt_s. 2011-03-31 12:31:54 +02:00
Nikolay Sivov 7a57f02b8d msvcrt: Implement _fcvt_s(). 2011-01-31 12:31:22 +01:00
Alexandre Julliard 7c95b251e0 msvcrt: Add a non-optimized implementation for the SSE2 math functions. 2011-01-26 20:48:48 +01:00
Alexandre Julliard 658eaeb3e0 msvcrt: Implemented _set_controlfp. 2011-01-26 15:00:10 +01:00
Alexandre Julliard c74f6ca570 msvcrt: Implemented _fpreset for SSE2 and x86_64. 2011-01-26 14:59:59 +01:00
Alexandre Julliard 98d7a021d6 msvcrt: Implemented _clearfp for SSE2 and x86_64. 2011-01-26 14:59:10 +01:00
Alexandre Julliard 4b17ec7405 msvcrt: Implemented _statusfp2. 2011-01-26 14:57:31 +01:00
Alexandre Julliard a8d8e4a367 msvcrt: Implemented __control87_2. 2011-01-26 14:57:15 +01:00
Eryk Wieliczko 1ade6c2bc8 msvcrt: Implement ecvt_s. 2010-12-10 15:46:06 +01:00
Alexandre Julliard f53d82b4f4 msvcrt: Fix controlfp_s parameter checks, with tests. 2010-11-27 20:40:14 +01:00
Alexandre Julliard 4dba956ea6 msvcrt: Add parameter checking in _controlfp_s. 2010-11-26 14:58:39 +01:00