home bbs files messages ]

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

   sci.math.symbolic      Symbolic algebra discussion      10,432 messages   

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

   Message 9,118 of 10,432   
   oldk1331@gmail.com to All   
   Re: How should software compare complex    
   24 Jul 16 19:33:55   
   
   In Axiom/FriCAS, you will get a compile time error.  I think all   
   those systems you listed give run time error?   
      
   The error message is (editing out irrelevant part):   
      
      There are 1 exposed and 2 unexposed library operations named max   
         having 2 argument(s) but none was determined to be applicable.   
     ......   
      Cannot find a definition or applicable library operation named max   
         with argument type(s)   
                                 Complex(Integer)   
                                  PositiveInteger   
      
   The "1 exposed library operations named max"  comes from   
   Category OrderedSet.  Complex Integer is not a OrderedSet.   
   So the compiler will give you this compile time error.   
      
   Matlab's approach is wrong, should not use the name "max" for   
   comparing absolute value.  Following Matlab's approach, will   
   it return true for equal?(1,sqrt(-1))?   
      
   --- 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