summaryrefslogtreecommitdiff
path: root/numpy/core/machar.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-10-02 19:36:37 +0000
committerPauli Virtanen <pav@iki.fi>2009-10-02 19:36:37 +0000
commit094a81e1352fb6b3a7a614fc8df23d0080cf7cb5 (patch)
tree0ec0b833b714ccf87085a43de363287edec5c7ee /numpy/core/machar.py
parentd8f0614a886488b875e34555c590e6469e24102a (diff)
downloadnumpy-094a81e1352fb6b3a7a614fc8df23d0080cf7cb5.tar.gz
Docstring update: core
Diffstat (limited to 'numpy/core/machar.py')
-rw-r--r--numpy/core/machar.py26
1 files changed, 24 insertions, 2 deletions
diff --git a/numpy/core/machar.py b/numpy/core/machar.py
index facade612..290f33746 100644
--- a/numpy/core/machar.py
+++ b/numpy/core/machar.py
@@ -51,7 +51,6 @@ class MachAr(object):
ngrd : int
Number of 'guard digits' used when truncating the product
of two mantissas to fit the representation.
-
epsilon : float
Same as `eps`.
tiny : float
@@ -61,7 +60,30 @@ class MachAr(object):
precision : float
``- int(-log10(eps))``
resolution : float
- `` - 10**(-precision)``
+ ``- 10**(-precision)``
+
+ Parameters
+ ----------
+ float_conv : function, optional
+ Function that converts an integer or integer array to a float
+ or float array. Default is `float`.
+ int_conv : function, optional
+ Function that converts a float or float array to an integer or
+ integer array. Default is `int`.
+ float_to_float : function, optional
+ Function that converts a float array to float. Default is `float`.
+ Note that this does not seem to do anything useful in the current
+ implementation.
+ float_to_str : function, optional
+ Function that converts a single float to a string. Default is
+ ``lambda v:'%24.16e' %v``.
+ title : str, optional
+ Title that is printed in the string representation of `MachAr`.
+
+ See Also
+ --------
+ finfo : Machine limits for floating point types.
+ iinfo : Machine limits for integer types.
References
----------