Project

General

Profile

Feature #836

SmallFpImpl: export fns for a fixed convention

Added by John Abbott over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
New Function
Start date:
10 Dec 2015
Due date:
% Done:

100%

Estimated time:
0.33 h
Spent time:

Description

I found a case where I needed to obtain the least non-negative residue from a SmallFpImpl::value. Doing this via myExport is clumsy.

Add new fns myExportNonNeg and myExportSymm which state explicitly the convention to use.

History

#1 Updated by John Abbott over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90
  • Estimated time set to 0.33 h

It was quite trivial to add the new fns. I have updated the doc too.
Should there be a specific test?

Should impl of myExport be revised to call either myExportNonNeg or myExportSymm depending on the internal flag? Such an impl would be easier to read, but would probably also be a bit slower than the current (less obvious) impl.

#2 Updated by John Abbott about 8 years ago

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

Also available in: Atom PDF