aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/headers/plugin_interface/SC_RGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'sc4pd/headers/plugin_interface/SC_RGen.h')
-rwxr-xr-xsc4pd/headers/plugin_interface/SC_RGen.h2
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;
}