Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

copysignf - Returns the positive interger as negative in C

  #include <math.h>
  #include <stdio.h>

  int main(void)
  {

    printf("%f", copysignf(2.0, -3.0));
   
  }


Output:
-2.000000