[PD-cvs] externals/sc4pd/headers/plugin_interface SC_RGen.h,1.1.1.1,1.2
Tim Blechmann
timblech at users.sourceforge.net
Thu Jul 15 23:34:14 CEST 2004
Update of /cvsroot/pure-data/externals/sc4pd/headers/plugin_interface
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29224/headers/plugin_interface
Modified Files:
SC_RGen.h
Log Message:
the work of this evening ...
Index: SC_RGen.h
===================================================================
RCS file: /cvsroot/pure-data/externals/sc4pd/headers/plugin_interface/SC_RGen.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** SC_RGen.h 14 Jul 2004 16:21:31 -0000 1.1.1.1
--- SC_RGen.h 15 Jul 2004 21:34:11 -0000 1.2
***************
*** 166,170 ****
// 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());
return u.f;
}
--- 166,170 ----
// 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 = 0x3F800000 | (0x80000000 & trand());
return u.f;
}
More information about the Pd-cvs
mailing list