Browse Source

* Fix typos in dead code introduced in CLN 1.1.0.

master
Richard Kreckel 17 years ago
parent
commit
f56b40a316
  1. 2
      src/float/transcendental/cl_F_cosh.cc
  2. 4
      src/float/transcendental/cl_F_coshsinh.cc
  3. 2
      src/float/transcendental/cl_F_sinh.cc

2
src/float/transcendental/cl_F_cosh.cc

@ -44,7 +44,7 @@ const cl_F cosh (const cl_F& x)
if (TheLfloat(x)->len >= infty) { if (TheLfloat(x)->len >= infty) {
var cl_LF xx = extend(x,TheLfloat(x)->len+1); var cl_LF xx = extend(x,TheLfloat(x)->len+1);
var cl_LF_cosh_sinh_t hyp = cl_coshsinh_ratseries(xx); var cl_LF_cosh_sinh_t hyp = cl_coshsinh_ratseries(xx);
return cln/float.hyp.cosh,x);
return cl_float(hyp.cosh,x);
} else } else
#endif #endif
if (TheLfloat(x)->len >= 600) { if (TheLfloat(x)->len >= 600) {

4
src/float/transcendental/cl_F_coshsinh.cc

@ -47,8 +47,8 @@ const cosh_sinh_t cosh_sinh (const cl_F& x)
var cl_LF xx = extend(x,TheLfloat(x)->len+1); var cl_LF xx = extend(x,TheLfloat(x)->len+1);
var cl_LF_cosh_sinh_t hyp = cl_coshsinh_ratseries(xx); var cl_LF_cosh_sinh_t hyp = cl_coshsinh_ratseries(xx);
return cosh_sinh_t( return cosh_sinh_t(
cln/float.hyp.cosh,x),
cln/float.hyp.sinh,x)
cl_float(hyp.cosh,x),
cl_float(hyp.sinh,x)
); );
} else } else
#endif #endif

2
src/float/transcendental/cl_F_sinh.cc

@ -33,7 +33,7 @@ const cl_F sinh (const cl_F& x)
if (TheLfloat(x)->len >= infty) { if (TheLfloat(x)->len >= infty) {
var cl_LF xx = extend(x,TheLfloat(x)->len+1); var cl_LF xx = extend(x,TheLfloat(x)->len+1);
var cl_LF_cosh_sinh_t hyp = cl_coshsinh_ratseries(xx); var cl_LF_cosh_sinh_t hyp = cl_coshsinh_ratseries(xx);
return cln/float.hyp.sinh,x);
return cl_float(hyp.sinh,x);
} else } else
#endif #endif
if ((TheLfloat(x)->len >= 500) if ((TheLfloat(x)->len >= 500)

Loading…
Cancel
Save