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,

    Duncan
     
  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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Bitwise operations in Macysma derived Computer Algebra Systems?
Loading...