commit | 1a191df14dc2f37933ef32f553fcaa7a5ac77cf7 | [log] [tgz] |
---|---|---|
author | Facundo Batista <facundobatista@gmail.com> | Tue Oct 02 17:01:24 2007 +0000 |
committer | Facundo Batista <facundobatista@gmail.com> | Tue Oct 02 17:01:24 2007 +0000 |
tree | ca894139a8f401a3ab8eaa158708920aa9b584c8 | |
parent | 31ba8480d823f2c424d77ccd8c446b79ca48c1ce [diff] |
Made the various is_* operations return booleans. This was discussed with Cawlishaw by mail, and he basically confirmed that to these is_* operations, there's no need to return Decimal(0) and Decimal(1) if the language supports the False and True booleans. Also added a few tests for the these functions in extra.decTest, since they are mostly untested (apart from the doctests). Thanks Mark Dickinson