ReactOS 0.4.16-dev-226-g79f2289
|
#include <math.h>
Go to the source code of this file.
Functions | |
int __cdecl | _invoke_matherr (int type, char *name, double arg1, double arg2, double retval) |
double __cdecl | _handle_error (char *fname, int opcode, unsigned long long value, int type, int flags, int error, double arg1, double arg2, int nargs) |
Handles an error condition. | |
float __cdecl | _handle_errorf (char *fname, int opcode, unsigned long long value, int type, int flags, int error, float arg1, float arg2, int nargs) |
double __cdecl _handle_error | ( | char * | fname, |
int | opcode, | ||
unsigned long long | value, | ||
int | type, | ||
int | flags, | ||
int | error, | ||
double | arg1, | ||
double | arg2, | ||
int | nargs | ||
) |
Handles an error condition.
fname | - The name of the function that caused the error. |
opcode | - Opcode of the function that cause the error (see OP_* consants in fpieee.h). |
value | - The value to be returned, encoded as uint64_t. |
type | - The type of error (see _DOMAIN, ... in math.h) |
flags | - Exception flags (see AMD_F_* constants). |
error | - Specifies the CRT error code (EDOM, ...). |
arg1 | - First parameter to the function that cause the error. |
arg2 | - Second parameter to the function that cause the error. |
nargs | - Number of parameters to the function that cause the error. |
Definition at line 34 of file _handle_error.c.
Referenced by _exp2(), _exp_special(), _hypot(), _log_special_common(), _logb(), _pow_special(), _sincos_special(), acos(), asin(), atan(), atan2(), ceil(), cosh(), floor(), remainder(), sinh(), sqrt(), tan(), and tanh().
float __cdecl _handle_errorf | ( | char * | fname, |
int | opcode, | ||
unsigned long long | value, | ||
int | type, | ||
int | flags, | ||
int | error, | ||
float | arg1, | ||
float | arg2, | ||
int | nargs | ||
) |
Definition at line 56 of file _handle_error.c.
Referenced by _expf_special(), _hypotf(), _logbf(), _logf_special_common(), _powf_special(), _sincosf_special(), acosf(), asinf(), atan2f(), atanf(), ceilf(), coshf(), floorf(), remainderf(), sinhf(), sqrtf(), tanf(), and tanhf().
Definition at line 24 of file _invoke_matherr.c.
Referenced by _handle_error(), and _handle_errorf().