Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Bitwise operations in Macysma derived Computer Algebra Systems?

  1. Sep 22, 2008 #1
    I can't see any native bitwise operators (like C++'s & and ^) in Maxima, is the right way to drop down into CLisp something like this?

    :lisp boole-and 5 7

    Many thanks,

  2. jcsd
  3. Sep 23, 2008 #2
    ':lisp (defun $logand(i j) (logand i j))' creates a LISP function that can be called from Maxima and can be placed in maxima-init.mac
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook