Displaying 2 results from an estimated 2 matches for "a306f3f6".
2014 Sep 12
2
[LLVMdev] [PATCH][RFC]: Add fmin/fmax intrinsics
...and Metal all have defined semantics for NaNs which include not propagating them through min/max. GLSL (OpenGL) is the odd one out in this area.
—Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140912/a306f3f6/attachment.html>
2014 Aug 18
3
[LLVMdev] [PATCH][RFC]: Add fmin/fmax intrinsics
Hi Carter,
I would strongly advise you against this direction. I’m aware of two directions that existing languages go in defining min/max operations:
- IEEE 754, C, Fortran, Matlab, OpenCL, and HLSL all define it not to propagate NaNs
- C++ (std::min/std::max) and OpenGL define it in the trinary operator manner: (a < b) ? a : b
What you’re proposing does not match any existing languages