Project

General

Profile

Design #534

Remove float.cpkg5

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

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

100%

Estimated time:
5.00 h
Spent time:

Description

All the fns which were exported by float.cpkg5 are now in CoCoALib.

Remove float.cpkg5?


Related issues

Related to CoCoALib - Feature #533: Convert BigInt/BigRat to stringClosed2014-04-10

Related to CoCoA-5 - Feature #419: FloatStrClosed2014-01-06

History

#1 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 30
  • Estimated time set to 5.00 h

It seems to be mostly impl'ed (in file decimal.C); not documented though!

There is disagreement about what DecimalStr should do precisely.

I have implemented FixedStr (temporary name!) to mimic DecimalStr as it was defined in float.cpkg5.

Decide exactly which fns we want (with exact semantics); implement cleanly,
and document!

#2 Updated by John Abbott about 10 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 30 to 90

DecimalStr etc now implemented in CoCoALib.

I note that the package contains two non exported fns: Atan and Pi.
Do we want to keep these?

20140424 I see no point in keeping Atan and Pi.

#3 Updated by Anna Maria Bigatti about 10 years ago

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

#4 Updated by Anna Maria Bigatti about 10 years ago

[I've already written this in #419]
I tested the new DecimalStr: I'd prefer 3 digits after "." by default (instead of 4).
I find it more natural to group digits in 3.

#5 Updated by John Abbott almost 10 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

I have now removed float.cpkg5.
Everything seems to work just fine.
Checked/updated doc too.

Also available in: Atom PDF