/*
Small floating point class by M Phillips - 2009.
Based on work by Jeroen van der Zijp, November 2008

1 bit sign
5 bits exponent
10 bits significand

This code is provided as is with no warranties or guarantees of
any kind.

Please send an email to M Phillips (mbp2@i4free.co.nz)
  - if you use this file in a released product, or
  - if you find any bugs, or
  - if you have any suggestions
*/

#include "halffloat.h"

#ifdef NO_PRECALCULATION
unsigned int half::mantissatable[2048];
unsigned int half::exponenttable[64];
unsigned short half::offsettable[64];
unsigned short half::basetable[512];
unsigned char half::shifttable[512];

struct halfinit {
	halfinit() {
		half::init();
	}
} dummy;
#endif

