Re: [fpc-devel] wrong result for abs(low(int64))

2024-04-04 Thread Kai Burghardt via fpc-devel
Ahoy, hoy, On 2024‑04‑04 15:14:38 +0200, Martin Frb via fpc-devel wrote: > The below writes:  -9223372036854775808 > > Shouldn't absolute return a positive number? No, see https://wiki.freepascal.org/Integer#characteristics -- Sincerely yours, Kai Burghardt signature.asc Description: PGP

Re: [fpc-devel] Question about "Default()"

2024-02-22 Thread Kai Burghardt via fpc-devel
Hello everyone! On 2024‑02‑22 14:27:01 +0100, Martin Frb via fpc-devel wrote: > [...] So is that a bug in Default? [...] I wondered about that, too: https://gitlab.com/freepascal.org/fpc/source/-/issues/34972 Resolution: It's not a bug. -- Sincerely yours, Kai Burghardt signature.asc

Re: [fpc-devel] Policy regarding SHL/SHR under x86

2022-10-24 Thread Kai Burghardt via fpc-devel
Hi there: On 2022‑10‑24 11:51:32 +0100, J. Gareth Moreton via fpc-devel wrote: > [...] I've come across one situation that I need clarity on... how > are SHL and SHR instructions handled if the shift value exceeds the word > size? About a half year ago I raised a documentation issue regarding