RE: Regarding ranges for trignometric functions


Subject: RE: Regarding ranges for trignometric functions
From: Martin O'Leary (oleary@cadence.com)
Date: Thu Dec 12 2002 - 21:59:32 PST


Sri,
what std are you referring to?
Thanks,
--Martin

        -----Original Message-----
        From: Sri Chandra [mailto:schandra@asc.corp.mot.com]
        Sent: Thursday, December 12, 2002 8:57 PM
        To: Verilog-AMS LRM Committee
        Subject: Regarding ranges for trignometric functions
        
        
        Hi,
         
        The LRM ranges for some of the math/trig functions are different from the std.
         
        For pow(),
        LRM says,
         if x >= 0 all y,
         if x < 0, int(y)
        However, if x = 0, it should be y >= 0.
         
        For sinh(x), it should probably be |x| < 80 instead of x < 80,
        For cosh(x), it shoud probably be |x| < 80, instead of x < 80.
         
        for atanh(x), -1 < x < 1, instead of -1 <= x <= 1
         
        cheers,
        Sri
                    
        --
        Srikanth Chandrasekaran
        Global Software Group, EDA
        Motorola Australia
        Phone: +61-8-8168 3592 Fax: x3501
         
         



This archive was generated by hypermail 2b28 : Thu Dec 12 2002 - 22:03:59 PST