示例#1
0
文件: integer.cpp 项目: alyst/zorba
IntegerImpl<T>::IntegerImpl( Float const &f ) {
  if ( !f.isFinite() )
    throw invalid_argument( "not finite" );
  value_ = T::check_value( ftoi( f.getNumber() ) );
}