Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm using the version from Debian testing:

    dc -V
    dc (GNU bc 1.07.1) 1.4.1
In fact, in my version "-v" as opposed to "-V" isn't recognized as a valid option.

    3 _ 2 ^ p
    0


I am Gavin Howard, the author of the other dc.

My dc does have a few differences from the GNU dc. I added the extension of using _ as a negative sign.

That is why you are both seeing behavior differences.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: