Exemple #1
0
 public function testFromIntAndFracParts()
 {
     $this->assertTrue(CMathf::equalsZt(CMathf::fromIntAndFracParts(12, 34), 12.34));
     $this->assertTrue(CMathf::equalsZt(CMathf::fromIntAndFracParts(-1234, 5678), -1234.5678));
 }