> We should either revert to using x-floor(x), or set the FPU rounding > direction to downward in the language, as that's the condition for > sc_frac to work : > #include <fenv.h> > fesetround(FE_DOWNWARD); i browsed through the sources, didn't find any point, where the fpu rounding mode is set ... so i would prefer using c(99)-math functions instead of the sc_trunc trick for both sclang and scsynth (the unary op ugens use the nova-simd implementation for frac, which is optimized with libsimdmath or sse4.1 tim -- tim@xxxxxxxxxx http://tim.klingt.org There's no such entity as "most people". These are generalities. All generalities are meaningless. You've got to pin it down to a specific person doing a specific thing at a specific time and space. William S. Burroughs
Attachment:
signature.asc
Description: OpenPGP digital signature