[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ePiX-users] Math functions
From: |
José Alexandre Nalon |
Subject: |
Re: [ePiX-users] Math functions |
Date: |
Tue, 22 Apr 2008 08:56:56 -0300 |
User-agent: |
KMail/1.9.7 |
Hello,
On Friday 18 April 2008 18:05:48 Andrew D. Hwang wrote:
> The expression exp(b*log(abs(a))) should only return nan when a=0 (or if a
It turns out that I had an error in another part of the script
that was making wrong calculations. Fixing that, the script was
working ok.
> The trig and inverse trig functions with capitalized names are sensitive
> to angle units (radians, degrees, revolutions). In degrees mode, Cos has
> period 360, and Acos takes values between 0 and 180, for example.
I didn't know that, as I always work with radians. Is that a C/C++
feature or is it exclusively an ePiX feature?
--
José Alexandre Nalon
address@hidden