Skip to content

Commit

Permalink
fix compilation on some distribs
Browse files Browse the repository at this point in the history
  • Loading branch information
recoules committed Sep 13, 2024
1 parent 0b37598 commit 7b4bc4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unisim/util/floating_point/floating_point.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ float FMin( float a, float b ) { return unisim::util::floating_point::_FMin<floa
float FMinNumber( float a, float b ) { return unisim::util::floating_point::_FMinNumber<float>( a, b ); }
float FMax( float a, float b ) { return unisim::util::floating_point::_FMax<float>( a, b ); }
float FMaxNumber( float a, float b ) { return unisim::util::floating_point::_FMaxNumber<float>( a, b ); }
bool IsSignaling( float a ) { return issignaling( a ); }
bool IsSignaling( float a ) { return unisim::util::floating_point::_IsSignaling<float>( a ); }
template <> float DefaultNaN<float>() { return unisim::util::floating_point::_DefaultNaN<float>(); }

// Functions for double
Expand Down Expand Up @@ -289,7 +289,7 @@ double FMin( double a, double b ) { return unisim::util::floating_point::_FMin<d
double FMinNumber( double a, double b ) { return unisim::util::floating_point::_FMinNumber<double>( a, b ); }
double FMax( double a, double b ) { return unisim::util::floating_point::_FMax<double>( a, b ); }
double FMaxNumber( double a, double b ) { return unisim::util::floating_point::_FMaxNumber<double>( a, b ); }
bool IsSignaling( double a ) { return issignaling( a ); }
bool IsSignaling( double a ) { return unisim::util::floating_point::_IsSignaling<double>( a ); }
template <> double DefaultNaN<double>() { return unisim::util::floating_point::_DefaultNaN<double>(); }

namespace unisim {
Expand Down

0 comments on commit 7b4bc4c

Please sign in to comment.