| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pythagorean triples |
Hello Miles. 09 Aug 04 04:58, you wrote to David Williams: MM> G'morning David, DW>> Incidentally, the "S - 1 OR 1" expression finds the greatest ODD DW>> number that is less than or equal to S. I think that's about the DW>> easiest way to do it. MM> Neat ! DW>> Here's the latest. Not many changes. MM> Unfortunately, my quick timer addition uses time$ which does not MM> report parts of seconds; this version still clocks in at 4 MM> seconds here... the floating point value "timer" is accurate to about 1/18 of a second at the start: T! = timer at the end: print "elapssed:"; timer - T! ;"seconds" more precision that that is dificult in interpreted basic, but in C I have timer code accurate to better than 1 microsecond (by reading the registers of the timer chip). Jasen --- GoldED+/LNX 1.1.4.7* Origin: (3:640/1042) SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.