Gentee Programming Language > Documentation > Libraries Download documentation

abs

The absolute value for integers |x|.
 
uint abs(
      int   x
)

Parameters

xAn integer.

Return value

The absolute value.

See also

    Mathematical functions


 Copyright © 2004-2006 Gentee Inc. All rights reserved.