Overview
Comment: | Use std::pow instead of pow to avoid pow double/Complex ambiguity error. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f222810d22bda1240345034a62149c56 |
User & Date: | geraint@users.sourceforge.net on 2003-09-13 22:26:39 |
Other Links: | branch diff | manifest | tags |
Context
2003-09-14
| ||
22:31:45 | Replaced ^ with pow (required for -cc and -oct). check-in: 8983165fd0 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-09-13
| ||
22:26:39 | Use std::pow instead of pow to avoid pow double/Complex ambiguity error. check-in: f222810d22 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-09-07
| ||
20:41:19 | *** empty log message *** check-in: 679c4552bb user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/cc/include/useful-functions.hh from [f0062089cf] to [681ea58964].
︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | + | /* typedef unsigned int bool; const bool true = 1; const bool false = 0; */ #else #define cast_to_double static_cast<double> using std::pow; #endif /* ! __cplusplus */ static inline double max (const double x1, const double x2) { return cast_to_double ((x1 >= x2) ? x1 : (x1 < x2) ? x2 : 0); } |
︙ |