| www.retrosoftware.co.uk http://www.retrosoftware.co.uk/forum/ |
|
| The least integer http://www.retrosoftware.co.uk/forum/viewtopic.php?f=73&t=664 |
Page 1 of 1 |
| Author: | GregC [ Tue Aug 23, 2011 1:21 am ] |
| Post subject: | The least integer |
Things I've noticed in the last few days about the most negative integer in BASIC II, -2147483648:
So despite its otherwise robust character, BASIC still has a couple of nasty bugs in store for the unwary coder. – Greg |
|
| Author: | GregC [ Fri Aug 26, 2011 3:37 am ] |
| Post subject: | Re: The least integer |
PRINT STR$(ABS(&80000000)) -2147483648 Gawd! |
|
| Author: | jgharston [ Sun Nov 27, 2011 1:01 pm ] |
| Post subject: | Re: The least integer |
GregC wrote: So despite its otherwise robust character, BASIC still has a couple of nasty bugs in store for the unwary coder. That's not a bug in BASIC, that's a fundemental underlying characteristic of any integer number system.
|
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|