mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-04 00:11:37 -08:00
SIN and SINH, when applied on long doubles, used only float accuracy.
This commit is contained in:
parent
cad1580f7e
commit
a23460d397
1 changed files with 2 additions and 2 deletions
|
|
@ -481,7 +481,7 @@ cl_sin(cl_object x)
|
|||
output = ecl_make_doublefloat(sin(df(x))); break;
|
||||
#ifdef ECL_LONG_FLOAT
|
||||
case t_longfloat:
|
||||
output = make_longfloat(sinf(ecl_long_float(x))); break;
|
||||
output = make_longfloat(sinl(ecl_long_float(x))); break;
|
||||
#endif
|
||||
case t_complex: {
|
||||
/*
|
||||
|
|
@ -609,7 +609,7 @@ cl_sinh(cl_object x)
|
|||
output = ecl_make_doublefloat(sinh(df(x))); break;
|
||||
#ifdef ECL_LONG_FLOAT
|
||||
case t_longfloat:
|
||||
output = make_longfloat(sinhf(ecl_long_float(x))); break;
|
||||
output = make_longfloat(sinhl(ecl_long_float(x))); break;
|
||||
#endif
|
||||
case t_complex: {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue