Opened 9 months ago

#1833 new defect

inaccuracy in exponential functions

Reported by: sjain59 Owned by:
Priority: minor Milestone: someday
Component: unknown Version: 5.3.0
Keywords: Cc:
Estimated difficulty:

Description

I wish to bring to your kind notice the following:

(sin -1e-6i), whose magnitude should be sinh, gives inaccurate answer, in comparison SCM scheme for the same expression, gives the correct C function answer. The discrepancy is related to the C functions expm1 and log1p which are needed for small x.

Another thing I noticed is the expression (sin 1e-6i) gives the error 1e-6 unbound variable, whereas in the expression (sin +1e-6i) it is correctly recognized as a number.

Thanks.

Change History (0)

Note: See TracTickets for help on using tickets.