public function testTan() { $this->assertTrue(CMathf::equalsZt(CMathf::tan(0.0), 0.0)); $this->assertTrue(CMathf::equalsZt(CMathf::tan(1.0), 1.557407725)); $this->assertTrue(CMathf::equalsZt(CMathf::tan(0.5), 0.54630249)); $this->assertTrue(CMathf::equalsZt(CMathf::tan(10), 0.6483608275)); }