Zarutian_HTC has joined #forth
jsoft has joined #forth
TCZ has quit [Quit: Leaving]
dave0 has quit [Quit: dave's not here]
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
Zarutian_HTC1 has joined #forth
Zarutian_HTC has quit [Read error: Connection reset by peer]
Zarutian_HTC1 is now known as Zarutian_HTC
sts-q has joined #forth
jedb_ is now known as jedb
gravicappa has joined #forth
WickedShell has joined #forth
_whitelogger has joined #forth
WickedShell has quit [Remote host closed the connection]
[1]MrMobius has joined #forth
MrMobius has quit [Ping timeout: 246 seconds]
[1]MrMobius is now known as MrMobius
irsol_ has joined #forth
irsol has quit [Read error: No route to host]
irsol_ is now known as irsol
jsoft has quit [Ping timeout: 272 seconds]
_whitelogger has joined #forth
f-a has joined #forth
X-Scale` has joined #forth
X-Scale has quit [Ping timeout: 264 seconds]
X-Scale` is now known as X-Scale
f-a has quit [Ping timeout: 246 seconds]
proteusguy has joined #forth
TCZ has joined #forth
f-a has joined #forth
jsoft has joined #forth
Lord_Nightmare has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
Zarutian_HTC has quit [Remote host closed the connection]
TCZ has joined #forth
Doob has joined #forth
<Doob> Hello all. Is the number of bits in a Forth-number dependent on the processor or the standard?
<Doob> Just i read old books about Forth, where they work with 16 bits everywhere, and then they expand to 32 and 64 by the Forth itself.
jsoft has quit [Quit: Leaving]
<sts-q> Doob: Well, what i think is, it depends on the implementer. If you implement a Forth, you start with what the machine provides and build what you need. Then extend further.
<sts-q> Doob: In the good old time ( ;) ) this might be a 8-bit machine, implementing 16-bit Forth in assembly. Then if needed 32-bit Forth in Forth.
<Doob> sts-q: Ok. This means that if I make a fort in a high-level language with 64-bit numbers, then I do not need to lower the precision and expand the set of words to 16 bits.
<Doob> Can I use a data stack for floating point numbers? Or is it necessary to work with them in a special float-stack?
f-a has left #forth [#forth]
<sts-q> Doob: Floats are data and therefore go on the data-stack, that's fine.
<sts-q> Doob: I think there are Forth standards: ANSI-something and others. I think, it is a good idea, to start with these, if only for the sake of readability.
<Doob> I didn't find anything about the bit length, only about memory alignment.
<sts-q> Doob: In many languages '+' is '+', no matter if int, int32, float, whatever. Forth needs an operator for each type, there are a lot of them.
<Doob> Yeah, but I can hide it from the user. so that the calculation results are correct. I just need to know to what bit size it is critical.
<Doob> And the existing implementations are confusing. Everyone does it their own way.
<sts-q> :)) Yes
f-a has joined #forth
<sts-q> bit-size, byte-size or word-size?
<sts-q> In 'old' books they should have 16-bit-words.
<sts-q> HTH, need to leave now. Regards.
<sts-q> (bbiab)
f-a has quit [Quit: leaving]
TCZ has quit [Quit: Leaving]
Lord_Nightmare has joined #forth
Keshl has quit [Ping timeout: 264 seconds]
WickedShell has joined #forth
Doob has quit [Remote host closed the connection]
f-a has joined #forth
Vedran has quit [Quit: The Lounge - https://thelounge.github.io]
Vedran has joined #forth
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #forth
Mat5 has joined #forth
Mat5 has left #forth ["Leaving"]
WickedShell has quit [Remote host closed the connection]
Gromboli has joined #forth
gravicappa has quit [Ping timeout: 256 seconds]
gravicappa has joined #forth
f-a has quit [Ping timeout: 264 seconds]
f-a has joined #forth
f-a has quit [Quit: leaving]
gravicappa has quit [Ping timeout: 256 seconds]
Zarutian_HTC has joined #forth
Keshl has joined #forth
dave0 has joined #forth