Commit Graph

24 Commits

Author SHA1 Message Date
Jacek Caban 8941d8e036 math.h: Use builtin nan and inf on clang MSVC target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 12:04:20 +02:00
Jacek Caban 80e2154856 include/msvcrt: Include corecrt.h instead of crtdefs.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 19:37:21 +02:00
Alexandre Julliard a16ef96dc6 include/msvcrt: Add INFINITY and NAN definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:03:37 +02:00
Alexandre Julliard 54bd7e655a include/msvcrt: Define more math functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:38 +02:00
Alexandre Julliard ca6478b2a3 include/msvcrt: Use _fpclass() instead of _dclass().
dclass() is only available in MSVCR120.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard f402bcd0c3 include/msvcrt: Remove some prototypes that conflict with gcc builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard b9ae3bf095 include/msvcrt: Define math constants by default, for compatibility with Mingw.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Daniel Lehman fbfcb57c17 include: Add some math function declarations.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 20:23:26 +01:00
Stefan Silviu 4d37b87219 msvcrt: Implement nearbyint and nearbyintf.
Signed-off-by: Stefan Silviu <sylviu44@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:40 +01:00
Grazvydas Ignotas 6c63e9f5d2 include: Expose some more implemented math functions.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Grazvydas Ignotas cc902bce5b include: Use fabsf implementation when available.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Grazvydas Ignotas b3194e04e0 include: Use float math functions on ARM.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Piotr Caban 1e9402124d msvcp: Add _Dtest implementation. 2015-09-14 16:47:52 +09:00
Alexandre Julliard a405745770 include: Add inline wrappers for some underscore-prefixed math functions. 2013-10-21 20:23:52 +02:00
Piotr Caban 55aeaf3c76 msvcp90: Added std::log(complex) and std::exp(complex) implementation. 2013-01-25 11:18:28 +01:00
Alexandre Julliard 277120bbd5 msvcp: Implement the Ctraits math functions. 2011-05-04 17:26:47 +02:00
Maarten Lankhorst f4fcd81167 include: Add float functions to msvcrt. 2010-05-03 15:34:41 +02:00
Alexandre Julliard bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +01:00
Alexandre Julliard 33fa6c2e25 include: Add the msvcrt/crtdefs.h header and include it where needed. 2008-12-12 10:19:55 +01:00
Dmitry Timoshkov 2af96fe590 msvcrt: Pack the structures on a 8-byte boundary like in PSDK. 2007-02-20 12:24:04 +01:00
Dimitrie O. Paun 0377462460 Split the MSVCRT implementation headers from the public headers.
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Dimitrie O. Paun a5686fe589 Added definition for HUGE_VAL. 2004-04-09 19:02:45 +00:00
Hans Leidekker 285ad721f4 The beginnings of math.h and float.h. 2004-03-12 19:47:20 +00:00
Vincent Béron dc7c2e464e Added msvcrt headers limits.h and math.h. 2003-09-02 00:58:21 +00:00