round

round to whole unit with positive bias: 0.49 becomes 0, 0.51 becomes 1, -0.49 becomes 0
Author: Johannes Taelman
License: BSD
Github: math/round.axo

IO Variants: 2


Variant: 1

Inlets

frac32buffer in

Outlets

frac32buffer out

Audio Rate
outlet_out = (inlet_in + 0x100000) & 0xFFE00000;

Variant: 2

Inlets

frac32 in

Outlets

frac32 out

Control Rate
outlet_out = (inlet_in + 0x100000) & 0xFFE00000;

Privacy

© 2024 Zrna Research