In order to avoid exiting the program, I am checking for Inf and setting the result to Nan manually for each trigonometric function. I agree with John's comments and hope that something like this would become default behavior. @Milan: Thanks for the link, it was a good one.
- [julia-users] Trigonometric functions at infinity isahin
- Re: [julia-users] Trigonometric functions at infi... John Myles White
- Re: [julia-users] Trigonometric functions at infi... Milan Bouchet-Valat
- Re: [julia-users] Trigonometric functions at ... isahin
- Re: [julia-users] Trigonometric functions at ... isahin
