bogner added a comment.

In D156178#4530161 <https://reviews.llvm.org/D156178#4530161>, @bogner wrote:

> Looking at 
> https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-pow,
>  it seems a bit underspecified, but do we need to worry about differences 
> between that spec and IEEE behaviour here? For example, it says there that 
> `x<0, y=any -> NaN`, but we'll only generate `NaN` for non-integer `y` in 
> these cases as per https://en.cppreference.com/w/c/numeric/math/pow

FWIW it looks like the behaviour here matches what DXC does in practice today, 
so discussing the discrepancy here probably doesn't need to block getting this 
in


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156178/new/

https://reviews.llvm.org/D156178

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to