You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
I think it's a corner case in terms of how the result is given precision. It's off by 1 in this case. And being off by one doesn't affect the boolean:
```
>>> Float('.1',0)==.1
True
>>> Float('.1',1)==.1
True
```
Chris Smith
unread,
Sep 3, 2014, 9:32:34 PM9/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
It should work now in the most recent build. Thanks for reporting the issue.
Duane Nykamp
unread,
Sep 6, 2014, 2:42:33 PM9/6/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
Thanks for fixing this!
Duane Nykamp
unread,
Dec 29, 2014, 7:11:00 PM12/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
More strange round behavior, this time with negative numbers.
In [1]: S(123.6).round(0) Out[1]: 124.
In [2]: S(-123.6).round(0) Out[2]: -123.
In [3]: S(-123.7).round(0) Out[3]: -124.
The rounding up behavior seems to occur between 6 and 7. This isn't a precision/binary representation issue as the break is occurring far away from the correct 5. Standard python rounding get it right: