ftp.nice.ch/pub/next/unix/audio/cmusic.bs.N.tar.gz#/src/cmusic/ug.square.c

This is ug.square.c in view mode; [Download] [Up]

/* Squaring unit generator */

#include "ug.head.h"

#define IN 1

square

UGHEAD{
    UGINIT;
    UGLOOP{

	VAL(OUT)++ = VAL(IN)*VAL(IN);

	UGEND(1);
    }
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.