Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_Sycamore
on Dec 1, 2024
|
parent
|
context
|
favorite
| on:
1/0 = 0 (2018)
My head-canon with dividing by zero is that 1/0 = undefined and 1/-0 = -undefined, and that's where I leave it because anything less funny than that seems like an impractical answer.
jansan
on Dec 2, 2024
|
next
[–]
I am fine if isFinite(1/0) returns false.
maxk42
on Dec 1, 2024
|
prev
[–]
0 / 0 = Any number
non-zero / 0 = No number
hgomersall
on Dec 2, 2024
|
parent
[–]
0/0 might be a specific number. You have to go and use l'hopitals rule to work out what it might be.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: