Re: [foxboro] EXP with negative base in CALCA

  • From: Ulrich Wieczorek <uwieczorek@xxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Fri, 12 Jan 2007 16:06:05 +0100

Sascha,

this is because y = x ** p is calculated as y = e ** (log(x) * p).
You would have to calculate the logarithm of a negative number, which
isn't defined.

Regards,
Ulrich

Sascha Wildner schrieb:
> Hello,
> 
> is there any reason why doing an EXP of a negative base in a CALCA block 
> (haven't tried MATH or CALC) yields a PROG_ERR 9?
> 
> Did I miss the lesson in school that taught negative bases are invalid?
> 
> Regards,
> 

-- 
-------------------------------------------
Ulrich Wieczorek
Erpicon Software Development GmbH
Neusser Str. 724-726
D-50737 Koeln
Tel.: +49-221-9746067
Fax:  +49-221-9746099
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: