Next Atypical Types 37

Overloaded constants

             163 + 13.5
             double fahrenheit = 98.6;
             double celsius1 = 5/9 * (fahrenheit - 32);
             double celsius2 = (fahrenheit - 32) * 5/9;
                
             printf("%.1f\n%.1f\n", celsius1, celsius2);
                
             /* This is why we love C */
                
                          0.0
                          37.0        
             (Num a) => a


Next Copyright © 1999,2008 Mark Dominus