?PNG
IHDR ? f ??C1 sRGB ?? gAMA ?a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
[Kc @ sb d Z d g Z d d k l Z d d k l Z d e f d YZ e d j o e GHn d S( sX
Machine arithmetics - determine the parameters of the
floating-point arithmetic system
t MachAri( t any( t seterrc B s; e Z d Z e e e d d d Z d Z d Z RS( s
Diagnosing machine parameters.
Attributes
----------
ibeta : int
Radix in which numbers are represented.
it : int
Number of base-`ibeta` digits in the floating point mantissa M.
machep : int
Exponent of the smallest (most negative) power of `ibeta` that,
added to 1.0, gives something different from 1.0
eps : float
Floating-point number ``beta**machep`` (floating point precision)
negep : int
Exponent of the smallest power of `ibeta` that, substracted
from 1.0, gives something different from 1.0.
epsneg : float
Floating-point number ``beta**negep``.
iexp : int
Number of bits in the exponent (including its sign and bias).
minexp : int
Smallest (most negative) power of `ibeta` consistent with there
being no leading zeros in the mantissa.
xmin : float
Floating point number ``beta**minexp`` (the smallest [in
magnitude] usable floating value).
maxexp : int
Smallest (positive) power of `ibeta` that causes overflow.
xmax : float
``(1-epsneg) * beta**maxexp`` (the largest [in magnitude]
usable floating value).
irnd : int
In ``range(6)``, information on what kind of rounding is done
in addition, and on how underflow is handled.
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
Same as `xmin`.
huge : float
Same as `xmax`.
precision : float
``- int(-log10(eps))``
resolution : float
``- 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
----------
.. [1] Press, Teukolsky, Vetterling and Flannery,
"Numerical Recipes in C++," 2nd ed,
Cambridge University Press, 2002, p. 31.
c C s d | S( s %24.16e( ( t v( ( s6 /usr/lib64/python2.6/site-packages/numpy/lib/machar.pyt a s s Python floating point numberc C s> t d d } z | i | | | | | Wd t | Xd S( s)
float_conv - convert integer to float (array)
int_conv - convert float (array) to integer
float_to_float - convert float array to float
float_to_str - convert array float to str
title - description of used floating point numbers
t undert ignoreN( R t _do_init( t selft
float_convt int_convt float_to_floatt float_to_strt titlet saverrstate( ( s6 /usr/lib64/python2.6/site-packages/numpy/lib/machar.pyt __init___ s
c . C s d } d } | d } | | } | | }
| } xd t | D]@ } | | } | | }
|
| } t | | |
j o Pq? q? Wt | | | i f | } xf t | D]B } | | } | | }
| |
| } t | d j o Pq q Wt | | | i f | } | | } d } | } xn t | D]J } | d } | | } | | }
|
| } t | | |
j o Pq3q3Wt | | | i f | | } | } xd t | D]@ } | | } | | }
|
| } t | | |
j o PqqWt | | | i f | | }
d } t |
| |
j o
d } n | | } | | }
| d j o! t |
| |
j o
d } n | d } | | } | } x t | D] } | | } qW| } x t | D]a } | | }
t |
| |
j o Pn | | } | d } | d j o t d t qqWt | | | i f | } | } | d } | } xd t | D]@ } | | }
t |
| |
j o Pn | | } | d } quWt | | | i f | } d } | | }
| d j o% t |
| | |
j o
d } n d } d } | } | | } d }! x t | D] } | }" |" |" } | | } | | }
t | | |
j p t t | |" j o Pn |
| } t | | | j o Pn | d } | | } qFWt | | | i f | d j o | d }# | | }$ nD d }# | }% x&