#include <math.h> #include <stdio.h> int main(void) { printf("%f", copysignf(1.0, -2.0)); }
-1.000000