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 Descrip

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.

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

2022-10-24 Thread Kai Burghardt via fpc-devel
ults > compared to when it gets evaluated at run time due to architecture > peculiarities). -- Sincerely yours, Kai Burghardt signature.asc Description: PGP signature ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepasca

Re: [fpc-devel] New feature announcement: constant parameters for generics

2020-04-26 Thread Kai Burghardt
t's basically the same, isn't it? Just a different syntax. [For reference: http://www.pascal-central.com/docs/iso10206.pdf (§ 6.4.7, PDF page 53)] -- Sincerely yours Kai Burghardt signature.asc Description: PGP signature ___ fpc-devel maillist - fpc-de

Re: [fpc-devel] Copyrighted material in bugtracker?

2019-10-04 Thread Kai Burghardt
Ahoy! On Fri, Oct 04, 2019 at 10:23:34PM +0200, Bart wrote: > It appears that this is coe copied from some Delphi version. In general, I side with the FSF. Citing code - i.e. a /small/ excerpt _naming_ the source - is legit. No software patents! -- Sincerely yours Kai Burghardt signature.

Re: [fpc-devel] [Suggestion] Enumeration range-check intrinsic

2019-07-16 Thread Kai Burghardt
ion, since for effective use you still > need to add code to check that the value is a named one. Not to mention, that this is the job of the {$PACKENUM} directive, ensuring an enumeration type reserves a minimum amount of space. -- Sincerely yours Kai Burghardt signature.asc Descripti