01:46
spoofer has quit [Quit: Lost terminal]
01:50
spoofer has joined #forth
02:01
boru` has joined #forth
02:01
boru has quit [Disconnected by services]
02:01
boru` is now known as boru
02:02
jsoft has joined #forth
02:11
Zarutian_HTC has joined #forth
02:36
Gromboli has quit [Quit: Leaving]
03:00
boru` has joined #forth
03:00
boru has quit [Disconnected by services]
03:00
boru` is now known as boru
03:30
hosewiejacke has joined #forth
04:02
dave0 has joined #forth
04:35
sts-q has quit [Ping timeout: 256 seconds]
04:39
sts-q has joined #forth
05:08
dave0 has quit [Quit: dave's not here]
05:15
hosewiejacke has quit [Ping timeout: 268 seconds]
05:17
gravicappa has joined #forth
06:15
hosewiejacke has joined #forth
07:10
hosewiejacke has quit [Ping timeout: 240 seconds]
07:23
hosewiejacke has joined #forth
07:23
dave0 has joined #forth
07:29
<
inode >
hosewiejacke: are you using gforth compiled for x86-64?
07:30
<
hosewiejacke >
Yes, it's from the OpenBSD packages.
07:33
<
inode >
ok, i found that the Division by Zero message seems to occur not only for division by zero, but for the error raised by the idiv instruction when the result overflows as boru suggested
07:50
<
hosewiejacke >
Compiling the gforth snapshot from 2020-12-03 seems to require a swig version that has a -forth option. swig 4.0.2 doesn't seem to have this option...
07:52
<
dave0 >
inode: the x86 unsigned divide only overflows if the high word of the dividend is greater or equal to the divisor
07:54
<
dave0 >
inode: you can check for overflow in advance (rdx:rax / rcx) cmp rdx,rcx ; jae overflow ; div rcx
07:54
<
dave0 >
that also catches divide by zero (because if rcx=0, rdx is always >= rcx)
07:55
<
dave0 >
don't know about signed divide :-(
08:09
<
dave0 >
inode: oh that looks like it's from the intel spec anyways
08:11
<
dave0 >
c is so hard to read when it's in assembly :-p
08:12
<
hosewiejacke >
Esp. when it's amd64 assembly :)
10:17
jsoft has quit [Quit: Leaving]
10:47
gravicappa has quit [Ping timeout: 240 seconds]
11:00
gravicappa has joined #forth
11:11
lispmacs[work] has quit [Ping timeout: 240 seconds]
12:28
ggVGc has quit [Quit: WeeChat 1.9.1]
12:58
Gromboli has joined #forth
13:01
dave0 has quit [Quit: dave's not here]
14:31
Zarutian_HTC has quit [Ping timeout: 240 seconds]
14:45
Zarutian_HTC has joined #forth
15:09
Zarutian_HTC has quit [Remote host closed the connection]
15:42
gravicappa has quit [Ping timeout: 240 seconds]
15:57
gravicappa has joined #forth
16:00
Zarutian_HTC has joined #forth
16:02
Zarutian_HTC has quit [Remote host closed the connection]
16:38
hosewiejacke has quit [Ping timeout: 256 seconds]
17:41
gravicappa has quit [Ping timeout: 260 seconds]
17:43
gravicappa has joined #forth
19:00
WickedShell has joined #forth
19:39
X-Scale` has joined #forth
19:40
X-Scale has quit [Ping timeout: 256 seconds]
19:40
X-Scale` is now known as X-Scale
19:41
lispmacs[work] has joined #forth
19:54
jedb has quit [Remote host closed the connection]
20:13
dave0 has joined #forth
20:17
gravicappa has quit [Ping timeout: 240 seconds]
21:15
kieselsteini has joined #forth
22:11
WickedShell has quit [Remote host closed the connection]
22:12
jedb has joined #forth
23:14
dave0 has quit [Quit: dave's not here]