GNU Scientific Library - Bugs: bug #36578, inconsistency in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #36578: inconsistency in gsl_ieee_env_setup doc/api
Submitter: | Rhys Ulerich <rhysu> | ||
Submitted: | Sat 02 Jun 2012 05:41:51 PM UTC | ||
Category: | Documentation | Severity: | 3 - Normal |
Operating System: | Status: | None | |
Assigned to: | rhysu | Open/Closed: | Open |
Release: |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
No changes have been made to this item
---8<---
This line from the gsl_ieee_env_setup() documentation
(http://www.gnu.org/software/gsl/manual/html_node/Setting-up-your-IEEE-environment.html)
makes no sense
as the relevant function signature is
The GSL_EUNSUP value is returned from gsl_ieee_set_mode within
gsl_ieee_env_setup's implementation, but the value is ignored and not
returned to the caller.
So:
a) Fix the documentation. Easy.
b) Fix the API signature and implementation. Presumably everyone's
ignoring the currently void return value anyhow and changing the
signature to return an int would harm no one.
Thoughts?
- Rhys
---8<---
Thread at http://lists.gnu.org/archive/html/bug-gsl/2012-06/msg00000.html