hex.ptr_sub¶
ptr[:w/4] -= value * 2w (retreat ptr by value)
@note: The complexity is calculated with n_const=2, and for log(w) in 16,32,64,128.
Signature¶
def ptr_sub ptr, value { ... }
Defined in hex/pointers/pointer_arithmetics.fj — lines 35–37 (view on GitHub).
Complexity¶
Time:
13@+35Space:
w(0.375@ + 3.25) + 7.5@+106
See the complexity glossary for what @, w, dw, dbit, n mean.
Requires init¶
The following must be initialised before this macro is invoked:
hex.add.init (or hex.init)