Skip to content
Snippets Groups Projects
Commit 7f7e4280 authored by Gary E. Miller's avatar Gary E. Miller :speech_balloon:
Browse files

ieee754io: fix unintialized l_fp return on NAN, +INF, -INF, etc.

parent 8d4ab9bd
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,9 @@ fetch_ieee754(
unsigned char val;
int fieldindex = 0;
*lfpp = 0; /* return zero for all errors: NAN, +INF, -INF, etc. */
switch (size)
{
case IEEE_DOUBLE:
......@@ -279,8 +282,6 @@ fetch_ieee754(
* collect real numbers
*/
*lfpp = 0;
/*
* check for overflows
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment