diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2004-07-15 21:34:12 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:11:55 +0200 |
commit | 2bc701fec065db8d399498a8c2f4f4145acf3369 (patch) | |
tree | 51dd381b5766a209bcfd91fc115d90c452a3073f /sc4pd/headers | |
parent | 9ecfff90135ec05498f9f55a39cd386c855a8571 (diff) |
the work of this evening ...
svn path=/trunk/externals/tb/; revision=1868
Diffstat (limited to 'sc4pd/headers')
-rwxr-xr-x | sc4pd/headers/plugin_interface/SC_RGen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc4pd/headers/plugin_interface/SC_RGen.h b/sc4pd/headers/plugin_interface/SC_RGen.h index c82142b..11f8c9a 100755 --- a/sc4pd/headers/plugin_interface/SC_RGen.h +++ b/sc4pd/headers/plugin_interface/SC_RGen.h @@ -165,7 +165,7 @@ inline float RGen::fcoin() { // only return one of the two values -1.0 or +1.0 union { uint32 i; float f; } u; // union for floating point conversion of result - u.i = 0x3E000000 | (0x80000000 & trand()); + u.i = 0x3F800000 | (0x80000000 & trand()); return u.f; } |