Browse Source

Re-establish ABI, broken 2008-01-20.

* src/float/ffloat/conv/cl_FF_from_float.cc: Add obsolete signature of
cl_float_to_FF_pointer.
* src/float/dfloat/conv/cl_DF_from_double.cc: Add obsolete signature of
cl_double_to_DF_pointer.
master
Richard Kreckel 17 years ago
parent
commit
1d962ba9ca
  1. 8
      ChangeLog
  2. 9
      TODO
  3. 6
      src/float/dfloat/conv/cl_DF_from_double.cc
  4. 6
      src/float/ffloat/conv/cl_FF_from_float.cc

8
ChangeLog

@ -1,3 +1,11 @@
2008-04-04 Richard B. Kreckel <kreckel@ginac.de>
Re-establish ABI, broken 2008-01-20:
* src/float/ffloat/conv/cl_FF_from_float.cc: Add obsolete signature of
cl_float_to_FF_pointer.
* src/float/dfloat/conv/cl_DF_from_double.cc: Add obsolete signature of
cl_double_to_DF_pointer.
2008-03-31 Bruno Haible <bruno@clisp.org>
Fix hack from 2008-01-20 that broke on ARM.

9
TODO

@ -1,3 +1,12 @@
ABI Issues:
Remove extra signatures in cl_FF_from_float.cc and cl_DF_from_double.cc.
Algorithms:
Niels Moeller's subquadratic GCD
- polynomial division and gcd
- polynomial documentation
7. add combinatorial, linear algebra, factorization, polynomial functions

6
src/float/dfloat/conv/cl_DF_from_double.cc

@ -11,6 +11,12 @@
namespace cln {
cl_heap_dfloat* cl_double_to_DF_pointer (const dfloatjanus& val_)
{
// XXX: This signature is for binary compatibility with CLN-1.2.0 only.
return cl_double_to_DF_pointer(*(double *)(&val_));
}
cl_heap_dfloat* cl_double_to_DF_pointer (const double x)
{
var union { dfloat eksplicit; double machine_double; } u;

6
src/float/ffloat/conv/cl_FF_from_float.cc

@ -10,6 +10,12 @@ namespace cln {
// Implementation.
cl_private_thing cl_float_to_FF_pointer (const ffloatjanus& val_)
{
// XXX: This signature is for binary compatibility with CLN-1.2.0 only.
return cl_float_to_FF_pointer(*(float *)(&val_));
}
cl_private_thing cl_float_to_FF_pointer (const float x)
{
var union { ffloat eksplicit; float machine_float; } u;

Loading…
Cancel
Save