Repository navigation
Commit 1b9ed64
committed
Fix #12282 (Internal error: fail to parse 1.0e4931L)
A float literal out of the range of double, such as 1.0e4931L or glibc's
HUGE_VAL for compilers other than GCC (1e10000), stopped the analysis of
the whole file with
Internal Error. MathLib::toDoubleNumber: conversion failed: 1e10000
The stream stores the largest finite value and fails on such a literal;
compilers make it infinity, so do the same.1 parent e5f9f00 commit 1b9ed64
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | | - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
537 | 544 | | |
538 | 545 | | |
539 | 546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
680 | 687 | | |
681 | 688 | | |
682 | 689 | | |
| |||
0 commit comments