News for hackers. Stuff that matters.
Re:Translating math into code with examples in Java, Racket,... by Recursing on Tuesday May 28, 2019 @03:41PM (#20033592)
Just in case somebody might benefit from finding out how easy it is in python with z3

  >>> from z3 import Int, solve
  >>> x = Int('x')
  >>> solve([x > 2, x < 5, x % 2 == 0])
  [x = 4]
Re:Translating math into code with examples in Java, Racket,... by taeric on Tuesday May 28, 2019 @08:12PM (#20035713)
The argument here is that you used a program to solve an equation. You did not write your program in that way. Indeed, you are using operator overloading/fancy syntax to make this work.

If anything, this seems to support the original claim.