Chris@10: Chris@10: Chris@10: Precision - FFTW 3.3.3 Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10:
Chris@10: Chris@10:

Chris@10: Next: , Chris@10: Previous: Complex numbers, Chris@10: Up: Data Types and Files Chris@10:


Chris@10:
Chris@10: Chris@10:

4.1.2 Precision

Chris@10: Chris@10:

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

Chris@10: Chris@10:

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

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