Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 14 Mar 2012 20:01:23 +0100
From: Szabolcs Nagy <>
Subject: Re: correctly rounded sqrt

* Szabolcs Nagy <> [2012-03-14 17:56:05 +0100]:
> i tried to solve the sqrt issue with a wrapper
> as discussed on irc, but i couldn't find a nice
> solution

i did some benchmarks:
(1x == single sqrt instruction)

wrapped sqrt is about 3.5x
the fdlibm software sqrt is about 10x
fp precision setting is about 1.2x

it might be possible to do a bit better wrapping
but not much better, so fp prec setting wins if
that's feasible..

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.