Command: abs_i

NEST HelpDesk Command Index NEST Quick Reference

Name:
 abs_i - absolute value of integer
Synopsis:
  integer abs -> integer
           
Description:
    implemented by C/C++ 
      long   labs(long) and

Examples:
 -3 abs_i -> 3
 
Remarks:
 If you are not sure, if the value is of type double or integer, use abs. 
If e.g. abs_d gets an integer as argument, NEST will exit throwing an assertion.     
Author:
 Diesmann 
FirstVersion:
 27.4.1999
References:
 Stroustrup 3rd ed p 661 
SeeAlso:abs
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slimath.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative