 
            
            
            
            
                24 Aug
                
                    2008
                
            
            
                24 Aug
                
                '08
                
            
            
            
        
    
                2:25 p.m.
            
        Logesh Pillay wrote:
Since this involves whole numbers only, I was surprised by the following run-time error...
The type of logBase is Floating a => a -> a -> a So by using b as an argument to logBase, you are forcing it to be in a type that is an instance of Floating. Use "fromIntegral b". Regards, Yitz