Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An obvious representation is a convergent stream of fractions. This will also quickly drive home why you cannot implement equality.

The other obvious representation is that of first order formulae over the theory of real fields, but then you need to check equivalence of arbitrary formulae. You ultimately need a limit operation to be included and now you're sunk. You'll also probably wish you were implementing the complex numbers instead pretty quickly.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: