Commit 6247361
committed
patch 8.0.0158: float funcion test fails on MS-Windows
Problem: On MS-Windows some float functions return a different value when
passed unusual values. strtod() doesn't work for "inf" and "nan".
Solution: Accept both results. Fix str2float() for MS-Windows. Also
reorder assert function arguments.1 parent 2d02839 commit 6247361
3 files changed
+175
-153
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5971 | 5971 | | |
5972 | 5972 | | |
5973 | 5973 | | |
| 5974 | + | |
| 5975 | + | |
| 5976 | + | |
| 5977 | + | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
| 5981 | + | |
| 5982 | + | |
| 5983 | + | |
| 5984 | + | |
| 5985 | + | |
| 5986 | + | |
| 5987 | + | |
| 5988 | + | |
| 5989 | + | |
5974 | 5990 | | |
5975 | 5991 | | |
5976 | 5992 | | |
| |||
0 commit comments