2/  ( n -- n/2 )

published: 9 January 2022 / updated 16 February 2022

Lire cette page en français

 

vocabulary: forth

Divide n by two.

n/2 is the result of shifting n one bit toward the least-significant bit, leaving the most-significant bit unchanged

Example:

24 2/ .    \ display    12 
25 2/ .    \ display    12 
26 2/ .    \ display    13 

Legal: site web personnel sans commerce / personal site without seling