From 2bc701fec065db8d399498a8c2f4f4145acf3369 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Thu, 15 Jul 2004 21:34:12 +0000 Subject: the work of this evening ... svn path=/trunk/externals/tb/; revision=1868 --- sc4pd/headers/plugin_interface/SC_RGen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc4pd/headers/plugin_interface/SC_RGen.h') 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; } -- cgit v1.2.1