Re: Euler Project Problems.
"Ray St. Marie" <[email protected]> Thu, 8 May 2008 19:48:09 -0600
| Newsgroups | gmane.comp.lang.forth.colorforth |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 8, 2008 at 6:38 PM, Albert van der Horst <[email protected]> wrote: > On Thu, May 08, 2008 at 09:59:18AM -0600, Ray St. Marie wrote: >> I've finished the first Project Euler Problem using colorForth2.0a. >> >> http://projecteuler.net/ >> >> I'm fairly certain that I won't be able to do all 200 or so problems >> without research or help. > > I sorted the problems by difficulty, and I'm up to the math, mostly. > But the hardest problem is 177, and I see no way to handle it without > floating point. Even then it is ugly to decide that a number is an > exact integer because it is fp within 10-9 of an integer. > > I have solved 5 now. In fact 6 because I have written a sudoku > solver. Just have to run the 50 problems through it. > >> >> Ray >> >> -- >> Raymond St. Marie ii, >> colorforthray.info Is this to say that the floating point registers of the pentium are out of reach to us? Just wondering, because I really don't know. Ray > > -- > Albert van der Horst, UTRECHT,THE NETHERLANDS > Economic growth -- like all pyramid schemes -- ultimately falters. > albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst -- Raymond St. Marie ii, colorforthray.info