8 lines
102 B
C
8 lines
102 B
C
|
#define _GNU_SOURCE
|
||
|
#include <math.h>
|
||
|
|
||
|
double significand(double x)
|
||
|
{
|
||
|
return scalbn(x, -ilogb(x));
|
||
|
}
|