[Developers] Define CCTK_*_PRECISION macros
Erik Schnetter
schnetter at cct.lsu.edu
Wed Oct 5 11:09:38 CDT 2005
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
--
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
--- StripMime Report -- processed MIME parts ---
multipart/signed
multipart/mixed
text/plain (text body -- kept)
application/octet-stream
application/pgp-signature
---
More information about the Developers
mailing list