sleef icon indicating copy to clipboard operation
sleef copied to clipboard

questions regarding determinism

Open moon-chilled opened this issue 2 years ago • 1 comments

  1. Are the scalar functions deterministic?

  2. If so, are the vector functions guaranteed to give the same results as the scalar functions (given DETERMINISTIC)?

  3. Are there plans to add deterministic versions of exp and pow?

moon-chilled avatar Apr 14 '22 23:04 moon-chilled

Deterministic functions are functions with cinz or finz in their names.

SLEEF has deterministic scalar functions. For example,

double**Sleef_cinz_powd1_u10purec(double/a/,double/b/);

is a deterministic scalar pow function.

Deterministic vector functions return the same results as deterministic scalar functions.

On 4/15/2022 8:57 AM, moon-chilled wrote:

Are the scalar functions deterministic?
If so, are the vector functions guaranteed to give the same
results as the scalar functions (given DETERMINISTIC)?
Are there plans to add deterministic versions of exp and pow?

— Reply to this email directly, view it on GitHub https://github.com/shibatch/sleef/issues/443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2A7FY65Q3CLEEGACHSPBTVFCWHXANCNFSM5TPF4J6Q. You are receiving this because you are subscribed to this thread.Message ID: @.***>

shibatch avatar Apr 15 '22 02:04 shibatch

I believe the question was answered, let us know if you have any further questions regarding determinism.

blapie avatar Dec 08 '23 09:12 blapie