diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2004-12-28 12:38:45 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:11:58 +0200 |
commit | 43dd4efedf1ecfe721cde5830bdcee67ffa48907 (patch) | |
tree | 2bc34fe60d8d6cc270626b11760f04e3730ae245 /chaos/src/chaos.hpp | |
parent | 6963657b3f3ee4321394953a2cc67cd7386cce2d (diff) |
a few new attractors ...
svn path=/trunk/externals/tb/; revision=2434
Diffstat (limited to 'chaos/src/chaos.hpp')
-rw-r--r-- | chaos/src/chaos.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chaos/src/chaos.hpp b/chaos/src/chaos.hpp index 4bf3ea3..231ecdc 100644 --- a/chaos/src/chaos.hpp +++ b/chaos/src/chaos.hpp @@ -28,8 +28,10 @@ /* internal we can work with a higher precision than pd */ #ifdef DOUBLE_PRECISION typedef double data_t; +#define CHAOS_ABS(x) fabs(x) #else -typedef t_float data_t; +typedef float data_t; +#define CHAOS_ABS(x) fabsf(x) #endif |