#include <math.h>
#include <float.h>
#include "ptwXY.h"
Go to the source code of this file.
◆ ptwXY_abs()
Definition at line 18 of file ptwXY_unitaryOperators.c.
18 {
19
20 int64_t i, nonOverflowLength;
23
27 }
28
29 for( i = 0, p = ptwXY->
points; i < nonOverflowLength; i++, p++ ) p->
y = fabs( p->
y );
30 for( o = overflowHeader->
next; o != overflowHeader; o = o->
next ) o->
point.
y = fabs( o->
point.
y );
32}
int64_t ptwXY_getNonOverflowLength(statusMessageReporting *smr, ptwXYPoints const *ptwXY)
struct ptwXYOverflowPoint_s ptwXYOverflowPoint
struct ptwXYPoint_s ptwXYPoint
#define smr_setReportError2p(smr, libraryID, code, fmt)
struct ptwXYOverflowPoint_s * next
ptwXYOverflowPoint overflowHeader
◆ ptwXY_neg()
Definition at line 36 of file ptwXY_unitaryOperators.c.
36 {
37
38 int64_t i, nonOverflowLength;
41
45 }
46
50 "Negation of non-linear y-interpolation not allowed: interpolation = '%s'.",
53 }
54
55 for( i = 0, p = ptwXY->
points; i < nonOverflowLength; i++, p++ ) p->
y = -p->
y;
58}
@ nfu_unsupportedInterpolation
@ ptwXY_interpolationFlat
@ ptwXY_interpolationLinLog
@ ptwXY_interpolationLinLin
#define smr_setReportError2(smr, libraryID, code, fmt,...)
ptwXY_interpolation interpolation
char const * interpolationString
Referenced by ptwXY_sub_ptwXY().