00001
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "CTB.hxx"
00015 #include "CTBprintf.hxx"
00016 #include "CTBexceptionMath.hxx"
00017
00023
00025
00026 void CTBexceptionMath::ToStream(ostream& os) const
00027 {
00028 os << mc_name;
00029
00030 if (mi_narg > 0) {
00031 os << " with (" << CTBprintf(md_arg1,"e",10,3);
00032 if (mi_narg > 1) os << "," << CTBprintf(md_arg2,"e",10,3);
00033 os << ")";
00034 }
00035
00036 if (mc_module) os << " in " << mc_module;
00037
00038 return;
00039 }
00040
00041 #if (defined(CTB__OutLine) || defined(CTBexceptionMath__OutLine))
00042 #define inline
00043 #include "CTBexceptionMath.icc"
00044 #undef inline
00045 #endif