2dup  ( d -- d d )

published: 28 January 2023 / updated 28 January 2023

Lire cette page en français

 

Copies the double-precision number at the top of the data stack. Equivalent to n1 n2 --- n1 n2 n1 n2.

Example:

5.  2DUP   \ leave 5. et 5. on stack 
           \ 5. is a double precision number