Overview
Comment: | <cmath> must be explicitly included for mex (matlab compiler script) to recognise std::pow. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c85b3640cdeb0d3caba8d43e48f6859d |
User & Date: | geraint@users.sourceforge.net on 2004-01-26 18:48:25 |
Other Links: | branch diff | manifest | tags |
Context
2004-02-10
| ||
09:51:07 | Updated obsolete path name. check-in: d39722131b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2004-01-26
| ||
18:48:25 | <cmath> must be explicitly included for mex (matlab compiler script) to recognise std::pow. check-in: c85b3640cd user: geraint@users.sourceforge.net tags: origin/master, trunk | |
10:54:49 |
Fixed mailhost in accordance with instructions at: http://sourceforge.net/docman/display_doc.php?docid=2352&group_id=1 (20040123) check-in: 39d0adaa89 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/cc/include/useful-functions.hh from [a82d5274ea] to [e59a66354c].
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + | #define cast_to_double (double) /* typedef unsigned int bool; const bool true = 1; const bool false = 0; */ #else #include <cmath> #define cast_to_double static_cast<double> using std::pow; #endif /* ! __cplusplus */ static double pi = M_PI; static double Pi = M_PI; |
︙ |