Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting a suffix for constants and trigonometric functions #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 24, 2019

  1. Allow setting a suffix for constants and trigonometric functions

    In order to use constants or trigonometric functions with a type other than
    double, a suffix ('f' for float or 'l' for long double) has to be used in C.
    This commit adds a preprocessor macro 'kiss_fft_suffix' which can be set to
    either 'f' or 'l' and which will be added to floating point constants and to
    the trigonometric functions (sin and cos).
    
    Without this suffix, the code will use a too high precision for float and a
    too low precision for long double.
    steffen-kiess committed Sep 24, 2019
    Configuration menu
    Copy the full SHA
    5ebbc5e View commit details
    Browse the repository at this point in the history