Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.physics.research    |    Current physics research. (Moderated)    |    17,516 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 16,825 of 17,516    |
|    Tom Roberts to mark horn    |
|    Re: relativistic gamma factor maximum    |
|    21 Jun 21 14:10:48    |
   
   From: tjroberts137@sbcglobal.net   
      
   On 6/21/21 3:01 AM, mark horn wrote:   
   > [...]   
      
   For extended-precision arithmetic, rather than "Sage, Maple, and   
   Mathematica", people may find it easier to use Python and its decimal   
   module. It provides arbitrary-precision decimal arithmetic using   
   standard Python arithmetic operators and functions. It defaults to 28   
   significant digits, well beyond double-precision floating point.   
      
    >>> from decimal import *   
    >>> two = Decimal(2)   
    >>> Decimal.sqrt(two)   
   Decimal('1.414213562373095048801688724')   
    >>> getcontext().prec = 50   
    >>> Decimal.sqrt(two)   
   Decimal('1.4142135623730950488016887242096980785696718753769')   
      
   Tom Roberts   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca