logicomacorp / WaveSabre

Official WaveSabre repository
MIT License
246 stars 34 forks source link

WaveSabreCore: use floorf instead of floor for floats #7

Closed kusma closed 5 years ago

kusma commented 5 years ago

This avoids a compile-time warning.

kusma commented 5 years ago

If this cause CRT issues, we could just add an implicit cast instead. I can't imagine this code being a hot-path nor a size-issue.

kusma commented 5 years ago

Ah, I don't think this can cause CRT-issues; Crusher.cpp already use floorf.

yupferris commented 5 years ago

Nice one, thanks!