From bbe49a14ae827b6474d692042406716a3b3dd71f Mon Sep 17 00:00:00 2001 From: Miran Date: Tue, 10 Nov 2020 21:53:25 +0100 Subject: Correct all eggs (#15906) * "eg" is a misspelled "egg", "e.g." is "exempli gratia" * Also, "ie" is "i.e.". --- lib/system/jssys.nim | 2 +- lib/system/strmantle.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/system') 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()`. -- cgit 1.4.1-2-gfad0