Re: [fpc-pascal] Single or Double

2005-07-11 Thread Marcel Martin
Florian Klaempfl a écrit : Marcel Martin wrote: Hello, I need to know *at compile time* whether the type Real is Single or Double. Currently, I use this {$IFDEF FPC_HAS_TYPE_DOUBLE} ... {$ELSE} {$IFDEF FPC_HAS_TYPE_SINGLE} ... {$ELSE} {$FATAL Type Real should be defined as Single or as Doubl

Re: [fpc-pascal] Single or Double

2005-07-10 Thread Florian Klaempfl
Marcel Martin wrote: > Hello, > > I need to know *at compile time* whether the type Real is > Single or Double. Currently, I use this > > {$IFDEF FPC_HAS_TYPE_DOUBLE} > ... > {$ELSE} > {$IFDEF FPC_HAS_TYPE_SINGLE} > ... > {$ELSE} > {$FATAL Type Real should be defined as Single or as Double} >