Skip to content

Shorter i386 Exp().

Rika requested to merge runewalsh/source:exp into main

Simplifies exp supposedly without changing anything about its behavior (as it is indeed slightly more accurate compared to easier and slightly faster straightforward implementations).

This program: ExpTest.pas checks that implementations are equivalent under various rounding modes and precisions, at least on random data.

exp1:                    40 ns/call
exp2:                    38 ns/call
Everything OK.
Edited by Rika

Merge request reports