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,984 of 117,927   
   Bernd Linsel to dxf   
   Re: FP number syntax   
   01 Jan 25 04:42:55   
   
   From: bl1-thispartdoesnotbelonghere@gmx.com   
      
   On 01.01.25 01:45, dxf wrote:   
      
   >   
   > To support DPL I have >NUMBER increment it for every digit successfully   
   > converted.  While most systems today have DPL (?) usage is probably too   
   > diverse to standardize.   
   >   
      
   It's documented in F83 Annex B (Uncontrolled Reference Words):   
      
      
          DPL          -- addr                       U              "d-p-l"   
               A variable containing the number of places after the   
               fractional point for input conversion.   
      
   It's usually implemented that DPL is reset to -1 when entering >NUMBER,   
   each successful digit conversion increments it only if it is >= 0, and   
   the first decimal separator encountered changes it from -1 to 0.   
      
   --   
   Bernd Linsel   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca