Browse Source

Fix bug in converting cl_LF to float, double.

master
Richard Kreckel 13 years ago
parent
commit
3c6225a8b3
  1. 2
      src/float/conv/cl_LF_to_double.cc
  2. 2
      src/float/conv/cl_LF_to_float.cc

2
src/float/conv/cl_LF_to_double.cc

@ -20,7 +20,7 @@ double double_approx (const cl_LF& x)
{ {
// x entpacken: // x entpacken:
var cl_signean sign; var cl_signean sign;
var sintL exp;
var sintE exp;
var uintD* ptr; var uintD* ptr;
var uintC len; var uintC len;
LF_decode(x, { return 0.0; }, sign=,exp=,ptr=,len=,); LF_decode(x, { return 0.0; }, sign=,exp=,ptr=,len=,);

2
src/float/conv/cl_LF_to_float.cc

@ -20,7 +20,7 @@ float float_approx (const cl_LF& x)
{ {
// x entpacken: // x entpacken:
var cl_signean sign; var cl_signean sign;
var sintL exp;
var sintE exp;
var uintD* ptr; var uintD* ptr;
var uintC len; var uintC len;
LF_decode(x, { return 0.0; }, sign=,exp=,ptr=,len=,); LF_decode(x, { return 0.0; }, sign=,exp=,ptr=,len=,);

Loading…
Cancel
Save