in reply to Re: Sheer idle curiousity . . .
in thread Sheer idle curiousity . . .
Besides what David just said, it seems to me that the operation of simply setting a sign bit and then testing for 0 would inherently faster than any of the other comparisons if the resulting code is optimized. I know that would be the case if I were coding that in assembly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sheer idle curiousity . . .
by BrowserUk (Patriarch) on Oct 23, 2013 at 22:16 UTC | |
by boftx (Deacon) on Oct 23, 2013 at 22:26 UTC | |
by BrowserUk (Patriarch) on Oct 24, 2013 at 00:51 UTC |