Commit f59b8d8a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Missing file

parent 7e3972c4
// Macro for killing denormalled numbers
// Written by Jezar at Dreampoint, June 2000
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
# include <config.h>
#include <math.h>
#include "denormals.h"
/* fpclassify() is C99, cannot be compiled into a C++90 file (on some systems) */
float undenormalise( float f )
if( fpclassify( f ) == FP_SUBNORMAL )
return 0.0;
return f;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment