drt24 / gnuprologjava

GNU Prolog for Java
8 stars 5 forks source link

Fix issue 28 and add a test case for sign() #35

Closed thetrime closed 7 years ago

thetrime commented 7 years ago

I think this is just an oversight; sign() should return 0 if given 0 as an input. Math.signum() does the job. #28