11 #if defined __cplusplus
23 ptwXYOverflowPoint *o, *overflowHeader = &(ptwXY->overflowHeader);
25 if( ptwXY->status != nfu_Okay )
return( ptwXY->status );
27 for( i = 0, p = ptwXY->points; i < nonOverflowLength; i++, p++ ) p->y = std::fabs( p->y );
28 for( o = overflowHeader->next; o != overflowHeader; o = o->next ) o->point.y = std::fabs( o->point.y );
29 return( ptwXY->status );
38 ptwXYOverflowPoint *o, *overflowHeader = &(ptwXY->overflowHeader);
40 if( ptwXY->status != nfu_Okay )
return( ptwXY->status );
42 for( i = 0, p = ptwXY->points; i < nonOverflowLength; i++, p++ ) p->y = -p->y;
43 for( o = overflowHeader->next; o != overflowHeader; o = o->next ) o->point.y = -o->point.y;
44 return( ptwXY->status );
47 #if defined __cplusplus
nfu_status ptwXY_neg(ptwXYPoints *ptwXY)
int64_t ptwXY_getNonOverflowLength(ptwXYPoints const *ptwXY)
nfu_status ptwXY_abs(ptwXYPoints *ptwXY)