Project

General

Profile

Design #475

Eliminate package approx

Added by John Abbott about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Cleaning
Target version:
Start date:
14 Mar 2014
Due date:
% Done:

100%

Estimated time:
5.00 h
Spent time:

Description

Implement in CoCoALib the fns in package approx; then eliminate the package.
Some fns are already in CoCoALib.

History

#1 Updated by Anna Maria Bigatti about 10 years ago

  • Target version set to CoCoA-5.1.0 Easter14

#2 Updated by John Abbott about 10 years ago

  • Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14

#3 Updated by John Abbott about 10 years ago

  • Status changed from New to In Progress
  • Assignee set to John Abbott
  • % Done changed from 0 to 60

Only the function FloatApprox remains to be done.

#4 Updated by John Abbott about 10 years ago

I suggest replacing class MantExp by MantExp10 (or Mant10Exp);
and then create new class MantExp2 (or Mant2Exp) to implement a binary version of FloatApprox.

The impl of FloatApprox in C5 package approx.cpkg5 was a decimal version; but that makes little sense (probably it was just easy).

Move FloatApprox to OBSOLESCENT.cpkg5?

#5 Updated by Anna Maria Bigatti about 10 years ago

John Abbott wrote:

I suggest replacing clas MantExp by MantExp10 (or Mant10Exp);
and then create new class MantExp2 (or Mant2Exp) to implement a binary version of FloatApprox.

I prefer MantExp2 because 2 is often used (not by me!) to mean to

#6 Updated by John Abbott about 10 years ago

  • % Done changed from 60 to 70

Implemented FloatApprox (binary version) in CoCoALib. Documented.

How to make the function available to CoCoA-5?
The old function was decimal, while the new one is binary.

#7 Updated by John Abbott about 10 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100
  • Estimated time set to 5.00 h

Old fn is FloatApprox obsolete -- there was no sense in making it decimal (not now that FloatStr exists).

New fn is binary (exported from CoCoALib); not backward compatible with CoCoA-4. Documented!

Package approx.cpkg has been eliminated; all its fns are now in CoCoALib!

#8 Updated by John Abbott almost 10 years ago

  • Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.1.0 Easter14

Also available in: Atom PDF