synaps/arithm/Infinity.h

Go to the documentation of this file.
00001 /*********************************************************************
00002 *      This file is part of the source code of SYNAPS kernel.        *
00003 *   Author(s): B. Mourrain, GALAAD, INRIA                            *
00004 **********************************************************************/
00005 #ifndef synaps_arithm_infinity_h
00006 #define synaps_arithm_infinity_h
00007 //--------------------------------------------------------------------
00008 #include <iostream>
00009 #include <cstdlib>
00010 #include <synaps/init.h>
00011 //--------------------------------------------------------------------
00012 __BEGIN_NAMESPACE_SYNAPS
00013 //--------------------------------------------------------------------
00018 struct Infinity
00019 {
00020   int sign;
00021   Infinity():sign(1){}
00022   Infinity(int x):sign(x){}
00023   Infinity(const Infinity& x):sign(x.sign){}
00024   Infinity operator=(const Infinity& x){sign=x.sign;return *this;};
00025 
00026 };
00027 
00028 //--------------------------------------------------------------------
00029 __END_NAMESPACE_SYNAPS
00030 //--------------------------------------------------------------------
00031 #endif // SYNAPS_ARITHM_ZP_H
00032 

SYNAPS DOCUMENTATION
logo