Re: [fpc-devel] Different results of random(int32) and random(int64) for negative limit value

2017-05-24 Thread Jonas Maebe
On 24/05/17 09:35, Thaddy de Koning wrote: The implementation is _*not *_undefined for negative values,_unless you say that you define it as undefined_. That is exactly what "undefined" means: the implementation was not designed to handle such values, so whatever you get as a result is undefi

[fpc-devel] Hint in fgl generic

2017-05-24 Thread Mattias Gaertner
Hi, FPC 3.1.1 writes hints when using TFPGObjectList: fpc/rtl/objpas/fgl.pp(978,1) Hint: "inherited" not yet supported inside inline procedure/function Can this be fixed please? Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http:/

Re: [fpc-devel] Different results of random(int32) and random(int64) for negative limit value

2017-05-24 Thread Thaddy de Koning
Jonas, sorry for the late response: The implementation is _*not *_undefined for negative values,_unless you say that you define it as undefined_. Because you seem to have implemented it or most of it. It renders a mathematical comparable distribution in the negative to the positive values.

Re: [fpc-devel] Different results of random(int32) and random(int64) for negative limit value

2017-05-24 Thread Thaddy de Koning
Of course 64 and 32 bit are the sizes, not the platform! That may not be clear. On 5/24/2017 9:35 AM, Thaddy de Koning wrote: Jonas, sorry for the late response: The implementation is _*not *_undefined for negative values,_unless you say that you define it as undefined_. Because you seem