mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Minor code modernisations.
This commit is contained in:
parent
f3b46c9a2f
commit
b2e5ef2bd6
17 changed files with 104 additions and 96 deletions
|
|
@ -518,7 +518,7 @@ double juce_atof (const CharType* const original) throw()
|
|||
}
|
||||
else
|
||||
{
|
||||
const double maxAccumulatorValue = (double) ((UINT_MAX - 9) / 10);
|
||||
const double maxAccumulatorValue = (double) ((std::numeric_limits<unsigned int>::max() - 9) / 10);
|
||||
if (accumulator [decPointIndex] > maxAccumulatorValue)
|
||||
{
|
||||
result [decPointIndex] = juce_mulexp10 (result [decPointIndex], exponentAccumulator [decPointIndex])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue