Am 16.02.2024 um 08:32 schrieb Florian Kl?mpfl via fpc-pascal:
Am 16.02.2024 um 08:23 schrieb Ern Aldo via fpc-pascal:
Compile-time math needs to be as correct as possible. RUN-time math can
worry about performance.
So you are saying when constant propagation is on, an expression should have
a
Tony Whyman via fpc-pascal schrieb am
Sa., 17. Feb. 2024, 00:50:
> I have a Pascal program, compiled with FPC 3.2.2 and which appears to
> happily link and run with a static library compiled with gcc and having
> a ".a" prefix on linux. The functions in the static library and declared
> as extern
I have a Pascal program, compiled with FPC 3.2.2 and which appears to
happily link and run with a static library compiled with gcc and having
a ".a" prefix on linux. The functions in the static library and declared
as external functions using the "external name name>" directive. The "".a" libra
>But the reduced precision should not come unexpectedly simply because the
compiler attaches type attributes to constants (which can't be easily
>explained), and then the outcome of simple decimal arithmetic is incorrect.
How are you disagreeing? This is EXACTLY what I am saying. My math with
var
Am 16.02.2024 um 15:57 schrieb James Richters via fpc-pascal:
So you are saying when constant propagation is on, an expression should have a
different result than with constant propagation off?
The result of math when using constants MUST be the same as the result of
identical math using var
>So you are saying when constant propagation is on, an expression should have a
>different result than with constant propagation off?
The result of math when using constants MUST be the same as the result of
identical math using variables.
There should never be a difference if I did my formula
Am 16.02.2024 um 08:32 schrieb Florian Klämpfl via fpc-pascal:
Am 16.02.2024 um 08:23 schrieb Ern Aldo via fpc-pascal
:
Compile-time math needs to be as correct as possible. RUN-time math can worry
about performance.
So you are saying when constant propagation is on, an expression should hav
On Fri, 16 Feb 2024, Pique7 via fpc-pascal wrote:
On Mon, 8 Jan 2024 22:08:16 +0100 (CET)
Michael Van Canneyt via fpc-pascal wrote:
On Mon, 8 Jan 2024, Pique7 via fpc-pascal wrote:
Disregarding the RTF for a moment, you'd need to save the contents of the
text fields in a TStringlist in
On Mon, 8 Jan 2024 22:08:16 +0100 (CET)
Michael Van Canneyt via fpc-pascal wrote:
>
>
> On Mon, 8 Jan 2024, Pique7 via fpc-pascal wrote:
>
> >> Disregarding the RTF for a moment, you'd need to save the contents of the
> >> text fields in a TStringlist instance in the 'afterscroll' event of the
>