[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] BooleanUGens (was Re: conditional statement in SynthDef)
Almost:
0 === 0.0
false
hjh
On Sep 5, 2005, at 8:21 PM, Scott Wilson wrote:
If I understand these correctly, these tests will always prove false
if a or b (as applicable) are UGens, and for UGens == and === are the
same. So I think that they could be safely changed to === without the
need to create extra objects, call asFloat, etc. On my machine ===
between Floats seems to bench slightly faster on average than ==
anyway.
nes pas?
: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman