home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   sci.math.symbolic      Symbolic algebra discussion      10,432 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,092 of 10,432   
   Richard Fateman to Mostowski Collapse   
   Re: square roots algo   
   20 Jan 21 07:42:31   
   
   From: fateman@gmail.com   
      
   On Tuesday, January 19, 2021 at 11:22:47 PM UTC-8, Mostowski Collapse wrote:   
   > What was the rounding mode?   
   > Round towards bullshit?   
   >   
   > Richard Fateman schrieb:   
   > > I have repeatedly posted one-line programs in Mathematica that lose   
   > > a decimal digit about every 3 times through a loop. The computation,   
   repeated, is   
   > > x= 2*x-x   
      
   I think that may be a fair description of the default (and only) rounding mode.   
   If you have a copy of Mathematica, try this   
      
   x=1.00000000000000000000   
   Do[x = 2*x - x, 120]   
   If[x==0.0,BS]   
      
   returns  BS.   
      
   --- 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