You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- incorporate and adapt David Gay's dtoa and strtod
into the Python core
- on platforms where we can use Gay's code (almost
all!), repr(float) is based on the shortest
sequence of decimal digits that rounds correctly.
- add sys.float_repr_style attribute to indicate
whether we're using Gay's code or not
- add autoconf magic to detect and enable SSE2
instructions on x86/gcc
- slight change to repr and str: repr switches
to exponential notation at 1e16 instead of
1e17, str switches at 1e11 instead of 1e12
Copy file name to clipboardExpand all lines: Doc/license.rst
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -657,3 +657,35 @@ The :mod:`select` and contains the following notice for the kqueue interface::
657
657
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
658
658
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
659
659
SUCH DAMAGE.
660
+
661
+
662
+
strtod and dtoa
663
+
---------------
664
+
665
+
The file :file:`Python/dtoa.c`, which supplies C functions dtoa and
666
+
strtod for conversion of C doubles to and from strings, is derived
667
+
from the file of the same name by David M. Gay, currently available
668
+
from http://www.netlib.org/fp/. The original file, as retrieved on
669
+
March 16, 2009, contains the following copyright and licensing
0 commit comments