as2js: as2js::Float64 Class Reference

#include <float64.h>

Public Types typedef double float64_type   Public Member Functions  Float64 ()    Float64 (float64_type const rhs)    Float64 (Float64 const &rhs)   int classified_infinity () const   compare_t compare (Float64 const &rhs) const   float64_type get () const   bool is_infinity () const   bool is_NaN () const   bool is_negative_infinity () const   bool is_positive_infinity () const   bool nearly_equal (Float64 const &rhs, float64_type epsilon=default_epsilon())   Float64operator= (Float64 const &rhs)   void set (float64_type const new_float)   void set_infinity ()   void set_NaN ()   Static Public Member Functions static float64_type default_epsilon ()   Private Attributes float64_type f_float = 0.0   Detailed Description

Definition at line 45 of file float64.h.

Member Typedef Documentation

Definition at line 48 of file float64.h.

Constructor & Destructor Documentation
as2js::Float64::Float64 ( ) inline

Definition at line 50 of file float64.h.

as2js::Float64::Float64 ( float64_type const  rhs) inline

Definition at line 55 of file float64.h.

References f_float.

as2js::Float64::Float64 ( Float64 const &  rhs) inline

Definition at line 60 of file float64.h.

References f_float.

Member Function Documentation
int as2js::Float64::classified_infinity ( ) const inline

Definition at line 111 of file float64.h.

References f_float.

compare_t as2js::Float64::compare ( Float64 const &  rhs) const inline
static float64_type as2js::Float64::default_epsilon ( ) inlinestatic

Definition at line 138 of file float64.h.

bool as2js::Float64::is_infinity ( ) const inline

Definition at line 96 of file float64.h.

References f_float.

Referenced by as2js::Node::to_int64().

bool as2js::Float64::is_negative_infinity ( ) const inline

Definition at line 106 of file float64.h.

References f_float.

Referenced by as2js::Node::to_string().

bool as2js::Float64::is_positive_infinity ( ) const inline

Definition at line 101 of file float64.h.

References f_float.

Referenced by as2js::Node::to_string().

bool as2js::Float64::nearly_equal ( Float64 const &  rhs, float64_type  epsilon = default_epsilon()  ) inline

Definition at line 143 of file float64.h.

References f_float.

Referenced by as2js::Node::compare().

Float64& as2js::Float64::operator= ( Float64 const &  rhs) inline

Definition at line 65 of file float64.h.

References f_float.

void as2js::Float64::set_infinity ( ) inline
Member Data Documentation
The documentation for this class was generated from the following file:
  • /home/snapwebsites/snapcpp/contrib/as2js/include/as2js/float64.h

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.

Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly