Changeset 997 for trunk/src/real.h


Ignore:
Timestamp:
Sep 29, 2011, 9:10:00 PM (11 years ago)
Author:
sam
Message:

core: add boolean operators on real numbers, add unit tests for that,
and simplify the Remez code accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/real.h

    r995 r997  
    5959    bool operator >=(real const &x) const;
    6060
     61    bool operator !() const;
     62    operator bool() const;
     63
    6164    friend real fabs(real const &x);
    6265
Note: See TracChangeset for help on using the changeset viewer.