use more beautiful mathematics in std/stol
This commit is contained in:
parent
a077789685
commit
4d02146777
1 changed files with 1 additions and 2 deletions
|
@ -171,8 +171,7 @@ func stol {
|
|||
s rem =s "remove first digit" #
|
||||
}
|
||||
|
||||
ne if { n neg =n }
|
||||
n
|
||||
n ( ne 2 * 1 - neg ) _long *
|
||||
}
|
||||
|
||||
func char { _array 0 aget }
|
||||
|
|
Loading…
Add table
Reference in a new issue