Example #1
0
 public function testLog10()
 {
     $this->assertTrue(CMathf::equalsZt(CMathf::log10(10.0), 1.0));
     $this->assertTrue(CMathf::equalsZt(CMathf::log10(100.0), 2.0));
     $this->assertTrue(CMathf::equalsZt(CMathf::log10(10), 1.0));
     $this->assertTrue(CMathf::equalsZt(CMathf::log10(100), 2.0));
 }