You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.0E-6 is a valid Double, but the autocorrect treats the '-' sign incorrectly and adds spaces before and after it. Would be nice to filter out [0-9][Ee][-][09]$ or w/e the regex should be. :)
code:
let eps: Double = 1.0E-6
gets auto corrected to:
let eps: Double = 1.0E - 6
which yields
version 0.16.0
current solution:
// swiftlint:disable:next operator_usage_whitespace
let eps: Double = 1.0E-6
The text was updated successfully, but these errors were encountered:
marcelofabri
added
duplicate
Issues that already exist in other terms.
and removed
bug
Unexpected and reproducible misbehavior.
repro-needed
Issues that cannot be reproduced or miss proper descriptive examples.
labels
Jan 23, 2017
1.0E-6 is a valid Double, but the autocorrect treats the '-' sign incorrectly and adds spaces before and after it. Would be nice to filter out [0-9][Ee][-][09]$ or w/e the regex should be. :)
code:
gets auto corrected to:
which yields
version 0.16.0
current solution:
The text was updated successfully, but these errors were encountered: