JUCE
JUCE copied to clipboard
Added static assert to check if FloatType is really a float
(not an int actually - to allow usage with Fixed Point types) - this is to prevent accidental precision loss when users pass integers to function like degreesToRadians()
see https://forum.juce.com/t/fr-add-static-assert-to-degreestoradians-and-radianstodegrees-to-check-if-floattype-is-indeed-a-floating-point-type/34629/2