If I include stdio.h (as David B. points out), I get the correct results:

trunc(a): -1.000000
trunc(b): 1.000000

Jeff


On Tue, 14 Dec 1999, Jeff Braun wrote:

> I get 0's on our SGI's with Irix 6.5.  By the way you had a little typo on
> the 2nd line (trucn).
> 
> Results for me are:
> 
> trunc(a): 0.000000
> trunc(b): 0.000000
> 


Reply via email to