- Jan 18, 2007
-
-
rtoy authored
Extend LOG2 function to handle more cases, and make LOG call LOG2 appropriately, and add LOG2-DD to handle the double-double-float cases.
-
- Jul 19, 2006
-
-
rtoy authored
o Implement ABS for complex double-double-floats.
-
rtoy authored
cos, tan.
-
rtoy authored
lisp/Config.ppc_darwin o Compile e_rem_pio2.c and k_rem_pio2.c code/irrat.lisp: o Update the arg reduction code to support ppc. We call out to the C sin, cos, and tan functions, after the argument has been accurately reduced.
-
rtoy authored
accurately reduce the arg and therefore compute the value of trig functions accurately. lisp/Config.linux_gencgc: o Compile e_rem_pio2.c and k_rem_pio2.c code/irrat.lisp: o Disable %sin, %cos, %tan functions. o Implement %sin, %cos, and %tan to call the fdlibm routine __ieee754_rem_pio2 to do argument reduction before calling the sin, cos, tan vops. compiler/x86/float.lisp: o Disable the vops for %sin, %cos, and %tan, so the Lisp code in irrat.lisp is used.
-
- Jun 30, 2006
-
-
rtoy authored
The merge is from the tag "double-double-irrat-end". The double-double branch is now obsolete. The code should build without double-double support (tested on sparc) as well as build with double-double support (tested also on sparc).
-
- May 15, 2006
-
-
rtoy authored
some power. (Maxima does this sometimes, and it's annoying to have CMUCL stop for this.)
-
- May 03, 2006
-
-
rtoy authored
sometimes, during constant folding in the compiler. (What else is missing?)
-
- Oct 20, 2005
-
-
rtoy authored
10), and (log 17 10) returned different single-float results. I think this is allowed by ANSI CL, but I think it's unfortunate. Therefore, try to apply float contagion to the arguments before computing the log function. Also, if both args are single-floats or rationals, we coerce them to double-floats before computing the result. This makes (log 17 10) = (log 17.0 10). There are other cases still to be considered.
-
- Aug 25, 2005
-
-
rtoy authored
case and dispatch to the real-valued C functions in that case. This fixes some errors in the asin and acos tests from ieeefp-tests (at common-lisp.net).
-
- Oct 19, 2004
-
-
rtoy authored
cuts on the real line incorrectly. This shows up when calling these functions with real-valued args, not complex. The problem was the computed values were not continuous with the quadrants specified by ANSI CL. Issue noted by Bruno Haible, cmucl-imp, 2004-10-11. See also some tests on cmucl-imp, 2004-10-19.
-
- Jun 09, 2004
-
-
rtoy authored
it return 1 (of the right type) in these cases. We still produce a FP trap, if enabled, though. Is that right?
-
- Jun 04, 2004
-
-
rtoy authored
-
- May 12, 2004
-
-
rtoy authored
comment for full details, but the issue is that Lisp says mixing a real and a complex requires converting the real to complex before doing the operation. But Kahan's algorithms assume that this doesn't happen, like z-1 should not be computed as z-(1+0*i). One place where this was wrong was for acos(2 +/- 0i). Kahan says acos(2+0i) is +0 - i*acosh(2) and acos(2-0i) is +0 + i*acosh(2). We had this backwards for the above reason. I think this was caused by the erroneous deftransforms for real op complex which were removed sometime ago, causing these function to compute the wrong thing.
-
- Jan 29, 2003
-
-
toy authored
by calling log2 instead of log to compute the result.
-
- Jan 10, 2003
-
-
toy authored
denominator are different lengths. Should be log, not log2.
-
- Jan 08, 2003
-
-
toy authored
this better by using %log1p when needed. Problem noted by Christophe Rhodes.
-
- Dec 31, 2002
-
-
toy authored
single-float or double-float. Thus (log (expt 2 32768) 2) will return 32768.0 instead of causing an error.
-
- Sep 05, 2002
-
-
toy authored
REAL in the two arg case.
-
- Apr 16, 2001
-
-
toy authored
o Remove the old special function routines o Add logb-finite to help optimize the use of logb o Remove some unneeded declarations since the compiler is smarter now than when this was originally written. o Add inhibit-warnings to coerce-to-complex-type since their unavoidable. o The cores of some routines are compiled with speed 3 and space 0 to get some maybe-inline routines inlined.
-
- Mar 04, 2001
-
-
pw authored
-
- Nov 19, 1999
-
-
dtc authored
get the desired features. From Raymond Toy.
-
- Jun 23, 1999
-
-
dtc authored
-
- Apr 15, 1998
-
-
dtc authored
-
- Feb 24, 1998
-
-
dtc authored
to call the C library version.
-
- Feb 19, 1998
-
-
dtc authored
of trapping NaN.
-
- Dec 15, 1997
-
-
dtc authored
-
- Nov 01, 1997
-
-
dtc authored
types. Adds storage classes to the backend for these so they can be stored in registers or on the stack without consing; new primitive types etc. Also adds (simple-array (complex {single,double}-float)) array types to avoid consing and speed vectors operations. All these changes are conditional on the :complex-float feature. More work is needed to exploit these changes: improving the type dispatch in the various function; maybe compiler transforms or more VOPs to handle common functions inline.
-
- Sep 08, 1997
-
-
dtc authored
with-float-traps-masked; more reliable than the exceptions-byte on many ports.
-
- Aug 30, 1997
- Aug 26, 1997
-
-
dtc authored
x86 port.
-
- Feb 10, 1997
-
-
dtc authored
generate inline code for this operation. Few other little cleanups.
-
- Feb 05, 1997
-
-
pw authored
-
- Jan 18, 1997
-
-
ram authored
-
- Jul 08, 1996
-
-
ram authored
-
- Oct 31, 1994
-
-
ram authored
-
- Feb 11, 1994
-
-
cvs2git authored
-
- Nov 06, 1993
-
-
wlott authored
doens't have them. Added #+hpux defuns for %asinh, %acosh, and %atanh because HPUX doesn't have them either, but we want to use them.
-
- May 25, 1993
-
-
wlott authored
correctly.
-