Reduced memory print of trigonometric functions