justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: I see EEL doesn't have bitwise not operator. Is there a way to clear a certain bit without using operator NOT (standard syntax I've used for years is --> function ClearBit (val, bit) return val & ~(1
Asked by John (78.0.194.x) on March 12 2019, 3:24pm
Reply on March 12 2019, 5:05pm:
    For EEL you can use ((-1-x)|0) for bitwise not...


Comments:
  • Posted by John (93.136.98.x) on March 14 2019, 8:24pm:
    Thank so much Justin...bitwise operations always amazed me to the extent that I never learned them completely so I can keep on being amazed xd

  • Posted by John (93.136.98.x) on March 14 2019, 8:24pm:
    Thank so much Justin...bitwise operations always amazed me to the extent that I never learned them completely so I can keep on being amazed xd


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS