Why do these two equivalent expressions in java and lisp have different outcomes?

后端 未结 0 1532
故里飘歌
故里飘歌 2021-02-04 03:12

the expression in lisp is:

(* (+ a b) (- a (/ 1 b)))

the equivalent expression (i think) in java is:

(a + b) * (a - (1/b));


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题