Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

cabs - Absolutwert einer komplexen Zahl berechnen (BS2000)

&pagelevel(4)&pagelevel

Definition

#include <math.h>

double cabs(__complex z);

Beschreibung

cabs() berechnet den Absolutwert der komplexen Zahl z.

struct (__complex z ) ist eine komplexe Zahl z mit Realteil x und Imaginärteil y.

__complex ist ein in math.h vordefinierter Typ:

typedef struct{double x, y;} __complex

Returnwert

Absolutbetrag der komplexen Zahl z bei Erfolg.

Programmabbruch bei Überlauf (Signal SIGFPE).

Siehe auch

abs(), fabs(), labs(), sqrt(), math.h.