On Sun, 03 Jan 2021 18:38:44 +0000, Joe wrote:
>
> "If you need to use floating-point arithmetic in FORTH, you do not
> fully understand your application"
>
> Not sure if it was Charles Moore or Leo Brodie who said that.
PICAXE BASIC is a little more limited than that: variables may be 8 or 16
bit and they are all UNSIGNED, which, I would suggest is a bit more
limiting than doing without floating point. This is the only computer
language I've used that doesn't support signed integer values.
A fairly rapid web search failed to discover whether unsigned arithmetic
is a feature of the BASIC or if the PIC micro-controller only works with
unsigned values. I found several low level architecture descriptions,
which all mention stuff like data storage and register lengths, but since
none of them mentioned signed arithmetic, it seems that it isn't
supported.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|