mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:01:43 +00:00
[CRT:MATH] Fix a bug in _handle_error
This commit is contained in:
parent
35bc1e1d9e
commit
d736b55644
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ _invoke_matherr(
|
|||
double retval);
|
||||
|
||||
/*!
|
||||
* @brief Handles an error condition.
|
||||
* @brief Handles an error condition.
|
||||
* @param fname - The name of the function that caused the error.
|
||||
* @param opcode - Opcode of the function that cause the error (see OP_* consants in fpieee.h).
|
||||
* @param value - The value to be returned, encoded as uint64_t.
|
||||
|
@ -42,7 +42,7 @@ _handle_error(
|
|||
double arg2,
|
||||
int nargs)
|
||||
{
|
||||
float retval = *(double*)&value;
|
||||
double retval = *(double*)&value;
|
||||
|
||||
_invoke_matherr(type, fname, arg1, arg2, retval);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue