# Command: abs_d

NEST HelpDesk | Command Index | NEST Quick Reference

Name:

    abs_d - absolute value of double
      Synopsis:  double abs -> double

Examples:

    -3.456 abs_d -> 3.456

Description:

      implemented by C/C++
      double fabs(double)

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.

References:

    Stroustrup 3rd ed p 660

Author:

    Diesmann

FirstVersion:

    27.4.1999

SeeAlso:

- abs

Source:

    /opt/conda/conda-bld/nest_1524088722951/work/nest-2.14.0/sli/slimath.cc

NEST HelpDesk | Command Index | NEST Quick Reference

© 2004 The NEST Initiative