Timothy B. Terriberry wrote: > The approach we used in Opus was to use unsigned shifts: > > https://git.xiph.org/?p=opus.git;a=commitdiff;h=1ee139bca076 > > That relies on implementation-defined behavior, but not undefined behavior.
Yep, that ia an alternative if the benchmarking shows that multiplication is slower than shifting. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev