From 6c9516300511aaa0d708e6582744c5b593c23df4 Mon Sep 17 00:00:00 2001 From: Andrew2 Date: Tue, 03 Dec 2013 03:48:04 +0000 Subject: Outlined in ticket 2697. Works by checking amount of digits in "x" then rounding "x" to the appropriate amount of digits. Also added code to return 0 when "x" is pi or pi/2 to the appropriate sin, cos or tan function. Work by Andrew Xia --- (limited to 'astparser.py') -- cgit v0.9.1