Ticket #6999: trac-6999-doctest_failures_on_32_bit.patch

File trac-6999-doctest_failures_on_32_bit.patch, 1.2 KB (added by flawrence, 11 years ago)
  • sage/interfaces/expect.py

    # HG changeset patch
    # User Felix Lawrence <felix@physics.usyd.edu.au>
    # Date 1253671096 -36000
    # Node ID 7fa2e583b7cc1b805280d55c01ce98c1c507d4a2
    # Parent  a2b2aa88b378fb689edc59092c0e7266035f267c
    Added doctest results for 32-bit systems.
    
    diff -r a2b2aa88b378 -r 7fa2e583b7cc sage/interfaces/expect.py
    a b  
    15901590       
    15911591            sage: gp(10.^80)._sage_repr()
    15921592            '1.0000000000000000000000000000000000000e80'    # 64-bit
     1593            '1.000000000000000000000000000e80'              # 32-bit
    15931594            sage: mathematica('10.^80')._sage_repr()  # optional - mathematica
    15941595            '1.e80'
    15951596       
  • sage/interfaces/gp.py

    diff -r a2b2aa88b378 -r 7fa2e583b7cc sage/interfaces/gp.py
    a b  
    566566       
    567567            sage: repr(gp(10.^80)).replace(gp._exponent_symbol(), 'e')
    568568            '1.0000000000000000000000000000000000000e80'    # 64-bit
     569            '1.000000000000000000000000000e80'              # 32-bit
    569570        """
    570571        return ' E'
    571572