예제 #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() ) );
}