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: |
f514d2ac65ee6a837672b81035752af3 |
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: d8b11b1193 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: f514d2ac65 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: eed450ae54 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 | #define cast_to_double (double) /* 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 double pi = M_PI; static double Pi = M_PI; | > | 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; |
︙ | ︙ |