nlfiedler / bakeneko

Scheme R7RS interpreter in Go
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Dividing large values appears to go awry #57

Open nlfiedler opened 9 years ago

nlfiedler commented 9 years ago

See the tests that attempt to use the squareRootSicp input program, which is a recursive definition of Newton's method for finding the square root. It produces an incorrect result in the form of a rational number, rather than an integer.