<div dir="ltr">My apologies if I did not follow the correct procedure here; I have not previously contributed to x264.<div><br></div><div>I encountered this divide-by-zero when investigating our use of clang/llvm's <a href="https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#available-checks">float-divide-by-zero sanitizer</a>. clang choses to define IEEE 754 as producing a NaN or infinity. I am unsure of gcc's behavior.</div><div><br></div><div>-Sam</div></div>