|
ReactOS 0.4.16-dev-2104-gb84fa49
|
#include <assert.h>#include <complex.h>#include <stdio.h>#include <fenv.h>#include <fpieee.h>#include <limits.h>#include <locale.h>#include <math.h>#include "msvcrt.h"#include "winternl.h"#include "wine/asm.h"#include "wine/debug.h"#include <stdlib.h>
Go to the source code of this file.
Macros | |
| #define | _DOMAIN 1 /* domain error in argument */ |
| #define | _SING 2 /* singularity */ |
| #define | _OVERFLOW 3 /* range overflow */ |
| #define | _UNDERFLOW 4 /* range underflow */ |
| #define | SET_X87_CW(MASK) |
| #define | RESET_X87_CW |
Typedefs | |
| typedef int(CDECL * | MSVCRT_matherr_func) (struct _exception *) |
Variables | |
| static MSVCRT_matherr_func | MSVCRT_default_matherr_func = NULL |
| BOOL | sse2_supported |
| static BOOL | sse2_enabled |
| #define RESET_X87_CW |
| typedef int(CDECL * MSVCRT_matherr_func) (struct _exception *) |
| void CDECL __setusermatherr | ( | MSVCRT_matherr_func | func | ) |
Definition at line 1227 of file math.c.
Definition at line 1174 of file math.c.
Definition at line 1265 of file math.c.
Referenced by _controlfp().
Definition at line 1288 of file math.c.
Referenced by _controlfp_s(), and _set_controlfp().
Definition at line 1304 of file math.c.
Referenced by sqrt_validate().
Definition at line 1748 of file math.c.
| int CDECL _ecvt_s | ( | char * | buffer, |
| size_t | length, | ||
| double | number, | ||
| int | ndigits, | ||
| int * | decpt, | ||
| int * | sign | ||
| ) |
Definition at line 1793 of file math.c.
Definition at line 1840 of file math.c.
| int CDECL _fcvt_s | ( | char * | outbuffer, |
| size_t | size, | ||
| double | number, | ||
| int | ndigits, | ||
| int * | decpt, | ||
| int * | sign | ||
| ) |
Definition at line 1921 of file math.c.
Referenced by sqrtf_validate().
Definition at line 1591 of file math.c.
Definition at line 1660 of file math.c.
Referenced by cvt(), format_float(), ldexp(), nexttowardf(), rpn_acos(), rpn_acosh(), rpn_asin(), rpn_asinh(), rpn_atan(), rpn_atanh(), rpn_cosh(), rpn_pow_f(), rpn_sinh(), rpn_sqr_f(), rpn_tanh(), Test__isnan(), test_isnan(), TRIO_ARGS1(), ulp_error_dbl(), and ulp_error_flt().
| int CDECL _matherr | ( | struct _exception * | e | ) |
| double CDECL _scalb | ( | double | num, |
| __msvcrt_long | power | ||
| ) |
| float CDECL _scalbf | ( | float | num, |
| __msvcrt_long | power | ||
| ) |
Definition at line 168 of file math.c.
|
static |
Definition at line 842 of file math.c.
Referenced by _clearfp(), _control87(), _fpreset(), and _statusfp().
Definition at line 1156 of file math.c.
| __msvcrt_long CDECL labs | ( | __msvcrt_long | n | ) |
Definition at line 1204 of file math.c.
| ldiv_t CDECL ldiv | ( | __msvcrt_long | num, |
| __msvcrt_long | denom | ||
| ) |
Definition at line 125 of file math.c.
Referenced by ldexp(), MSVCRT_asin(), MSVCRT_atan(), MSVCRT_atanf(), MSVCRT_exp(), MSVCRT_tanh(), MSVCRT_tanhf(), sqrt_validate(), and sqrtf_validate().
| __msvcrt_ulong CDECL MSVCRT__lrotl | ( | __msvcrt_ulong | num, |
| int | shift | ||
| ) |
| __msvcrt_ulong CDECL MSVCRT__lrotr | ( | __msvcrt_ulong | num, |
| int | shift | ||
| ) |
Definition at line 74 of file math.c.
Definition at line 84 of file math.c.
Referenced by JSGlobal_parseFloat(), sqrt_validate(), and sqrtf_validate().
Definition at line 400 of file math.c.
Referenced by MSVCRT_sqrt().
Definition at line 268 of file math.c.
Referenced by MSVCRT_sqrtf().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | msvcrt | ) |
|
static |
Definition at line 69 of file math.c.
Referenced by __setusermatherr(), and math_error().
|
static |
Definition at line 72 of file math.c.
Referenced by _set_SSE2_enable(), MSVCRT_asin(), and msvcrt_init_math().
| BOOL sse2_supported |
Definition at line 71 of file math.c.
Referenced by _clearfp(), _control87(), _fpreset(), _set_SSE2_enable(), memmove(), and msvcrt_init_math().