Age | Commit message (Collapse) | Author |
|
Makes the DCT code use constants of type float in expressions which only use
type float values otherwise. This silences some floating point conversion
warnings in the DCT code.
|
|
|
|
|
|
We use float types in variables, thus also use them for constants. Silences
some conversion warnings.
|
|
Since we take a float parameter and return a float value we will also just
work on float values all the way. This silences some float conversion
warnings.
|
|
This silences some float conversion warnings.
|
|
This silences some float conversion warnings.
|
|
I use float over double here because all the changing values were already
stored in variables of type float. This also silences some float conversion
warnings.
|
|
|
|
This might not be obvious to a C++ developer, but we use C's sin which is
*always* double. Thus, sin will return a double and therefore some compilers
might warn about this conversion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
current year part wasn't calculated properly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|