|
From: Lukas 'C. M. <gry...@gm...> - 2005-06-27 11:04:15
|
I'm not sure how abs() would help.. unless that's to ensure that the original value is positive before multiplying by negative one? -Lukas On 6/27/05, Scott <fre...@ve...> wrote: > =20 > =20 > > Hi... > > try > > -(pow(2,8)/2+1) > > greetz > =20 > Yeah doing it that way seems to be incorrect!!,=20 > It does provide the correct result if you change it to -(pow(2,8)/2-1)=20 > =20 > But thanks for the reply none the less.=20 > Marco's "(pow(2,8)/2+1) * -1" also works..=20 > =20 > So thankyou for the replies guys.=20 > I'll also look into the ABS function as suggested.=20 > =20 > Cheers,=20 > Scott. |