RE: offtopic, but... (floor func)



On 03-Nov-99 Daniel Weber wrote:
> I'm writing a program that uses the floor function, but ld is
> complaining about not being able to resolve it.  Is this function not in
> the std c libraries?  It's listed as A POSIX function, so it must be
> around here somewhere.....
> 
> Any help wrestling this rascal down much appreciated and sorry for the
> offtopic post...
> 
> 

it's posix, it's in the math library, so add -lm to your compile string

        -Erik <br0ke@math.smsu.edu> [http://math.smsu.edu/~br0ke]

The opinions expressed by me are not necessarily opinions. In all
probability, they are random rambling, and to be ignored. Failure to ignore
may result in severe boredom or confusion. Shake well before opening. Keep
Refrigerated.
        



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]