[LLVMdev] sqrt

Robert A. Zeh robert.a.zeh at gmail.com
Thu Jan 7 15:53:11 PST 2010

On Jan 7, 2010, at 11:48 AM, Chris Lattner <clattner at apple.com> wrote:

> There is a fundamental difference between sqrt() and llvm.sqrt: the
> former is defined on negative values and sets errno (on linux).  The
> later is undefined.  Both work well for their stated purpose,
> llvm.sqrt should not be slower than sqrt even on linux.  Both
> llvm.sqrt and sqrt could be much better on linux, but noone seems
> compelled to do the work.
> -Chris

What exactly is the work for llvm.sqrt on Linux?

More information about the llvm-dev mailing list