diff --git a/include/lmms_math.h b/include/lmms_math.h index 873f41e62..9c22014af 100644 --- a/include/lmms_math.h +++ b/include/lmms_math.h @@ -128,20 +128,6 @@ static inline double sinc( double _x ) } -//! @brief Returns logarithm of value, while accounting for zeros or negative values -static inline float saneLog( float value ) -{ - if( value == 0.0f ) - { - return 0.0f; - } - return value < 0.0f - ? logf( -value ) * -1.0f - : logf( value ); -} - - - //! @brief Scales @value from linear to logarithmic. //! Value should be within [0,1] static inline float logToLinearScale( float min, float max, float value )