This is ug.abs.c in view mode; [Download] [Up]
/* Absolute Value unit generator */ #include "ug.head.h" #include <math.h> #define IN 1 Abs UGHEAD{ UGINIT; UGLOOP{ VAL(OUT)++ = fabs((double)VAL(IN)); UGEND(1) } }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.