Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fuoqi
on May 11, 2020
|
parent
|
context
|
favorite
| on:
In Further Praise of Dependent Types
>you can specify the 2-vectors on the unit circle as "{ (x,y) : x,y in R | x^2 + y^2 = 1 }"
Which is not possible for any language targeting real machines since floats have fixed precision.
icen
on May 11, 2020
[–]
You can specify the 2-vectors on the unit circle as "{ (x, y) : x, y in R | x^2 + y^2 - 1 < 0.000001 }" instead.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Which is not possible for any language targeting real machines since floats have fixed precision.