[Developers] Re: [Patches] Define CCTK_*_PRECISION macros

Tom Goodale goodale at cct.lsu.edu
Tue Dec 13 09:07:49 CST 2005


Applied.

On Thu, 6 Oct 2005, Erik Schnetter wrote:

> (Resending this patch without signature.)
>
> Define macros CCTK_{INT,REAL,COMPLEX}_PRECISION to values of 1, 2, 4, 8, 16, 
> or 32, depending on the definition of the default data types 
> CCTK_{INT,REAL,COMPLEX}.  Currently, one has to explicitly test whether e.g. 
> a macro CCTK_REAL_PRECISION_8 is defined to find out whether CCTK_REAL is 
> equivalent to CCTK_REAL8.  These new macros make type generic code more 
> convenient to write.
>
> -erik
>
>



More information about the Developers mailing list