currencygithub.com/castedo/isomon

Name

isomon::number_traits<double>

Synopsis

// In header: </home/castedo/src/isomon/money.hpp>


struct number_traits<double> {

  // public static functions
  static bool isnan(double);
  static bool isinf(double);
  static int64_t floor(double);
  static int64_t ceil(double);
  static int64_t trunc(double);
  static int64_t roundhalfout(double);
  static int64_t roundhalfeven(double);
};

Description

number_traits public static functions

  1. static bool isnan(double x);
  2. static bool isinf(double x);
  3. static int64_t floor(double x);
  4. static int64_t ceil(double x);
  5. static int64_t trunc(double x);
  6. static int64_t roundhalfout(double x);
  7. static int64_t roundhalfeven(double x);