Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
rbanffy
5d ago
0 comments
Share
If you pass a negative number as a string to a function that converts strings representing positive numbers into positive long integers, then yes, it should return an error status instead of the wrong result.
0 comments
default
newest
oldest
thomashabets2
4d ago
Ah, I misunderstood what you meant by "is an error". Agree.
j
/
k
navigate · click thread line to collapse