Hacker News new | ask | show | jobs
by eterm 4696 days ago
1 + -1 = 1

Are negative numbers not yet supported?

editted to add: Or indeed decimal numbers.

Natural numbers only then?

Still seems cool even if how it works is a mystery to me.

1 comments

Very nice observation, and yes, natural numbers only. I believe it could be modified to allow for negative numbers.