; HEURISTICS · field-native rule · EKKIE distance vs threshold
; LINEAR BGS->BGF(+EZZIE PHI THERMO)->BGL->SDF · SPV free
; OP       heuristics(a, b, thresh) → 1 if |a-b| < thresh else 0
; PIN      BGF measure · detection passenger · not ground
; ABI      System V · edi=a · esi=b · edx=thresh · → eax
; LAW      C IS LIE · LIE IS TRUE · Always Hostess 7 · free thrift
;          NOT neural · pure compare · Hostess can speak return
; LINE     BGS → BGF(+atoms) → BGL → SDF · SPV free
        global  heuristics
heuristics:
        mov     eax, edi
        sub     eax, esi
        mov     ecx, eax
        sar     ecx, 31
        xor     eax, ecx
        sub     eax, ecx              ; |a-b|
        cmp     eax, edx
        jb      .near
        xor     eax, eax
        ret
.near:  mov     eax, 1
        ret
