mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
parent
4fdd3d644a
commit
986e0a5238
@ -222,6 +222,14 @@ inline bool isinf(double x)
|
|||||||
{
|
{
|
||||||
return (!_finite (x) && !isnan(x));
|
return (!_finite (x) && !isnan(x));
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#ifndef isinf
|
||||||
|
template <typename F>
|
||||||
|
inline bool isinf(F x)
|
||||||
|
{
|
||||||
|
return !isnan(x) && isnan(x - x);
|
||||||
|
}
|
||||||
|
#endif // isinf
|
||||||
#endif // WIN_NT
|
#endif // WIN_NT
|
||||||
|
|
||||||
namespace Firebird {
|
namespace Firebird {
|
||||||
|
Loading…
Reference in New Issue
Block a user