Fraction Library
A C++ Fraction library.

FracError.h

Go to the documentation of this file.
00001 
00027 #ifndef FRAC_ERROR_H
00028         #define FRAC_ERROR_H
00029 
00031         typedef unsigned short FR_ERROR;
00032 
00034         #define FR_DENOM_ZERO ((FR_ERROR)1)
00035 
00037         #define FR_STR_INVALID ((FR_ERROR)2)
00038 
00042         #define FR_INDEX_OUT_BOUNDS ((FR_ERROR)3)
00043 
00045         #define FR_NEG_PARAM ((FR_ERROR)4)
00046 #endif