Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: FFTW 3.3.5: Precision Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: Chris@42:
Chris@42:

Chris@42: Next: , Previous: , Up: Data Types and Files   [Contents][Index]

Chris@42:
Chris@42:
Chris@42: Chris@42:

4.1.2 Precision

Chris@42: Chris@42: Chris@42:

You can install single and long-double precision versions of FFTW, Chris@42: which replace double with float and long double, Chris@42: respectively (see Installation and Customization). To use these Chris@42: interfaces, you: Chris@42:

Chris@42: Chris@42: Chris@42:

Depending upon your compiler and/or hardware, long double may not Chris@42: be any more precise than double (or may not be supported at all, Chris@42: although it is standard in C99). Chris@42: Chris@42:

Chris@42: Chris@42:

We also support using the nonstandard __float128 Chris@42: quadruple-precision type provided by recent versions of gcc on Chris@42: 32- and 64-bit x86 hardware (see Installation and Customization). Chris@42: To use this type, link with -lfftw3q -lquadmath -lm (the Chris@42: libquadmath library provided by gcc is needed for Chris@42: quadruple-precision trigonometric functions) and use ‘fftwq_’ Chris@42: identifiers. Chris@42:

Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: