home bbs files messages ]

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

   comp.arch      Apparently more than just beeps & boops      131,241 messages   

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

   Message 130,253 of 131,241   
   Thomas Koenig to Robert Finch   
   Re: Tonights Tradeoff - NaN boxed precis   
   11 Nov 25 21:18:32   
   
   From: tkoenig@netcologne.de   
      
   Robert Finch  schrieb:   
   > Typical process for NaN boxing is to set the high order bits of the   
   > value which causes the value to appear to be a NaN at higher precision.   
   > I have been thinking about using some of the high order bits of the NaN   
   > (eg bits 32 to 51) to indicate the precision of the boxed value. This   
   > would allow detection of the use of a lower precision value in   
   > arithmetic. Suppose a convert from single to double precision is being   
   > done, but the value to be converted is only half precision.   
      
   Do you mean a type mismatch, a conversion, or digits lost due to   
   cancellation?   
      
   >If it were   
   > indicated by the NaN software might be able to fix the result.   
      
   Fixing a result after an NaN has occurred is too late, I think.   
      
   >I also   
   > preserve the sign bit of the number in the NaN box.   
      
   --   
   This USENET posting was made without artificial intelligence,   
   artificial impertinence, artificial arrogance, artificial stupidity,   
   artificial flavorings or artificial colorants.   
      
   --- 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