lines 154-185 of file: lib/cplusplus/a_double.cpp {xrst_begin a_double_unary_op} a_double Unary Plus and Minus ############################# Syntax ****** | *ay* = + *ax* | *ay* = - *ax* ax ** This object has prototype | |tab| ``const a_double&`` *ax* ay ** If the operator is ``+`` , the result is equal to *ax* . If it is ``-`` , the result is the negative of *ax* . {xrst_toc_hidden example/cplusplus/a_double_unary_op_xam.cpp example/python/core/a_double_unary_op_xam.py } Example ******* :ref:`c++`, :ref:`python`. {xrst_end a_double_unary_op}