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 129,484 of 131,241   
   Terje Mathisen to EricP   
   Re: What I did on my summer vacation   
   24 Aug 25 17:34:42   
   
   From: terje.mathisen@tmsw.no   
      
   EricP wrote:   
   > Terje Mathisen wrote:   
   >> Anton Ertl wrote:   
   >>> Terje Mathisen  writes:   
   >>>   
   >>>> This would have simplified all sorts of array/matrix sw where both   
   >>>> errors (NaN) and missing (None) items are possible.   
   >>>   
   >>> In what ways would None behave differently from SNaN?   
   >>   
   >> It would be transparently ignored in reductions, with zero overhead.   
   >    
   > There is also the behavior with operators - how is it different from xNan?   
   > xNan behaves like an error and poisons any calculation it is in,   
   > which is also how SQL behaves wrt NULL values:   
   >    
   >    value + xNan => xNan   
   >    value * xNan => xNan   
   >    
   > whereas Null is typically thought of as a missing value:   
   >    
   >    value + Null => value?   
   >    value * Null => 0?   
   >    
   > It could also have different operator instruction options that select   
   > different behaviors similar to rounding mode or exception handling bits.   
   > All those option bits would take up a lot of instruction space.   
      
   I'm used to the Mill None, where a store becomes a NOP, a mul behaves    
   like x * 1 (or a NOP), same for other operations.   
      
   Terje   
      
   --    
   -    
   "almost all programming can be viewed as an exercise in caching"   
      
   --- 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