Base: Use std::numeric_limits and std::numbers instead of defines
This commit is contained in:
@@ -27,15 +27,6 @@
|
||||
#include "Unit.h"
|
||||
#include <string>
|
||||
|
||||
// NOLINTBEGIN
|
||||
#ifndef DOUBLE_MAX
|
||||
#define DOUBLE_MAX 1.7976931348623157E+308 /* max decimal value of a "double"*/
|
||||
#endif
|
||||
#ifndef DOUBLE_MIN
|
||||
#define DOUBLE_MIN 2.2250738585072014E-308 /* min decimal value of a "double"*/
|
||||
#endif
|
||||
// NOLINTEND
|
||||
|
||||
namespace Base
|
||||
{
|
||||
class UnitsSchema;
|
||||
|
||||
Reference in New Issue
Block a user