home bbs files messages ]

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

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

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

   Message 116,491 of 117,927   
   albert@spenarnc.xs4all.nl to Anton Ertl   
   Re: F*/ (f-star-slash)   
   21 May 24 09:33:11   
   
   In article <2024May21.085224@mips.complang.tuwien.ac.at>,   
   Anton Ertl  wrote:   
      
   >Basically we have a multiplication of three factors: x, y, and 1/z;   
   >and the assumption is that the product of all three is in range, while   
   >there is one product of one of the factors that is out of range.   
   >   
   >It seems to me that this can be solved by sorting the three factors   
   >into a>b>c.  Then you can avoid the intermediate overflow by   
   >performing the computation as (a*c)*b.   
      
   Make that |a|>|b|>|c|   
   >- anton   
      
   Groetjes Albert   
   --   
   Don't praise the day before the evening. One swallow doesn't make spring.   
   You must not say "hey" before you have crossed the bridge. Don't sell the   
   hide of the bear until you shot it. Better one bird in the hand than ten in   
   the air. First gain is a cat purring.            - the Wise from Antrim -   
      
   --- 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