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 117,470 of 117,927   
   Anton Ertl to Anton Ertl   
   Re: Parsing =?UTF-8?B?dGltZXN0YW1wcz8=?=   
   16 Jul 25 16:02:41   
   
   From: anton@mips.complang.tuwien.ac.at   
      
   anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:   
   >But I decided to use a recursive approach (recursive-sum, REC) that   
   >uses the largest 2^kchild, and as base cases for the recursion use a straight-line   
   >balanced-tree evaluation for 2^k with k<=7 (and combine these for n   
   >that are not 2^k).  For systems with tiny FP stacks, I added the   
   >option to save intermediate results on a software stack in the   
   >recursive word.  Concerning the straight-line code, it turned out that   
   >the highest k I could use on sf64 and vfx64 is 5 (corresponding to 6   
   >FP stack items); it's not clear to me why; on lxf I can use k=7 (and   
   >it uses the 387 stack, too).   
      
   Actually, after writing that, I found out the reasons for the FP stack   
   overflows, and in the published versions and the results I use k=7 on   
   all systems.  It's really easy to leave an FP stack item on the FP   
   stack while calling another word, and that's not so good if you do it   
   while calling sum128:-).   
      
   - anton   
   --   
   M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html   
   comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html   
        New standard: https://forth-standard.org/   
   EuroForth 2025 CFP: http://www.euroforth.org/ef25/cfp.html   
      
   --- 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