Re: [fpc-pascal] aligned?

2023-01-30 Thread Mattias Gaertner via fpc-pascal
On Mon, 30 Jan 2023 18:45:48 +0100
Florian Klämpfl via fpc-pascal  wrote:

> > Am 30.01.2023 um 14:03 schrieb Mattias Gaertner via fpc-pascal
> > :
> > 
> > Hi,
> > 
> > What does the fpc built-in function aligned?
> > 
> > For example in FloatToStrFIntl:
> > 
> >  Str(Double(Extended(Aligned(Value))):precision+7, Result);  
> 
> It tells the compiler that the argument is properly aligned according
> to its type.

Thanks!

Mattias

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] aligned?

2023-01-30 Thread Florian Klämpfl via fpc-pascal


> Am 30.01.2023 um 14:03 schrieb Mattias Gaertner via fpc-pascal 
> :
> 
> Hi,
> 
> What does the fpc built-in function aligned?
> 
> For example in FloatToStrFIntl:
> 
>  Str(Double(Extended(Aligned(Value))):precision+7, Result);

It tells the compiler that the argument is properly aligned according to its 
type.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] aligned?

2023-01-30 Thread Mattias Gaertner via fpc-pascal
Hi,

What does the fpc built-in function aligned?

For example in FloatToStrFIntl:

  Str(Double(Extended(Aligned(Value))):precision+7, Result);



Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal