diff options
author | Miran <narimiran@disroot.org> | 2020-11-10 21:53:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 21:53:25 +0100 |
commit | bbe49a14ae827b6474d692042406716a3b3dd71f (patch) | |
tree | 87408943da9ab5e805a17532bdcdb6f033df5f68 /lib/system | |
parent | bc3c0487d3059900864d6e8074cf83555a5c446d (diff) | |
download | Nim-bbe49a14ae827b6474d692042406716a3b3dd71f.tar.gz |
Correct all eggs (#15906)
* "eg" is a misspelled "egg", "e.g." is "exempli gratia" * Also, "ie" is "i.e.".
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/jssys.nim | 2 | ||||
-rw-r--r-- | lib/system/strmantle.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/jssys.nim b/lib/system/jssys.nim index df05a9a62..c4c671ea3 100644 --- a/lib/system/jssys.nim +++ b/lib/system/jssys.nim @@ -485,7 +485,7 @@ proc negInt64(a: int64): int64 {.compilerproc.} = result = a*(-1) proc nimFloatToString(a: float): cstring {.compilerproc.} = - ## ensures the result doesn't print like an integer, ie return 2.0, not 2 + ## ensures the result doesn't print like an integer, i.e. return 2.0, not 2 asm """ function nimOnlyDigitsOrMinus(n) { return n.toString().match(/^-?\d+$/); diff --git a/lib/system/strmantle.nim b/lib/system/strmantle.nim index 21b790603..fa6ff411b 100644 --- a/lib/system/strmantle.nim +++ b/lib/system/strmantle.nim @@ -113,7 +113,7 @@ when defined(nimHasInvariant): proc nimParseBiggestFloat(s: string, number: var BiggestFloat, start = 0): int {.compilerproc.} = # This routine attempt to parse float that can parsed quickly. - # ie whose integer part can fit inside a 53bits integer. + # i.e. whose integer part can fit inside a 53bits integer. # their real exponent must also be <= 22. If the float doesn't follow # these restrictions, transform the float into this form: # INTEGER * 10 ^ exponent and leave the work to standard `strtod()`. |