hex.ptr_dec

ptr[:w/4] -= 2w

Signature

def ptr_dec ptr { ... }

Defined in hex/pointers/pointer_arithmetics.fj — lines 17–19 (view on GitHub).

Complexity

  • Time: 9@+23

  • Space: w(0.375@ + 3.25)  + 5@+67  (for log(w) in 16,32,64,128)

See the complexity glossary for what @, w, dw, dbit, n mean.

Requires init

The following must be initialised before this macro is invoked:

  • hex.sub.init (or hex.init)

Source

Depends on

Used by

Example uses


← Previous: hex.ptr_inc Next: hex.ptr_add