ftp.nice.ch/pub/next/developer/resources/classes/CompSim.s.tar.gz#/CompSim/compmath.h

This is compmath.h in view mode; [Download] [Up]

//
// Mathematical functions useful in computer calculations.
//


#import "Node.h"
#import <math.h>


double	log2(double x);
int	pow2(int n);
int	ispowerof2(unsigned int n);

long	bits2long(bit *bits, int numbits);
int	bitsequal(bit *a, bit *b, int numbits);


//
// End of file.
//

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