Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

copysign, copysignf, copysignl - Vorzeichen kopieren

&pagelevel(4)&pagelevel

Definition

#include <math.h>

C11
double copysign(double x, double y);
float copysignf (float x, float y);
long double copysignl (long double x, long double y); (Ende)

Beschreibung

Diese Funktionen geben den Wert von x mit dem Vorzeichen von y zurück.

Returnwert

|x|                   falls y >= 0

-|x|                  falls y < 0

Siehe auch

fabs(), signbit(), math.h.