mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 14:03:23 +00:00
JS compilation works again
This commit is contained in:
@@ -646,10 +646,10 @@ proc tenToThePowerOf(b: int): BiggestFloat =
|
||||
result = 1.0
|
||||
while true:
|
||||
if (b and 1) == 1:
|
||||
result *= a
|
||||
result = result * a
|
||||
b = b shr 1
|
||||
if b == 0: break
|
||||
a *= a
|
||||
a = a * a
|
||||
|
||||
const
|
||||
IdentChars = {'a'..'z', 'A'..'Z', '0'..'9', '_'}
|
||||
|
||||
Reference in New Issue
Block a user