On Mar 14, 2015, at 13:37, Levi Morrison <le...@php.net> wrote:
> It seems that `float -> bool` is always disallowed. If I am correct
> `int -> bool` is permitted for all values (not just 0 and 1), which
> means that floats which can be converted to integers without dataloss
> should also be permitted to be booleans. If a specific float can be
> converted to an int, and all ints can be converted to booleans, then
> the transitive property should hold for that float to a bool.

The problem there is what does "without dataloss" mean? At which precision do 
you consider there to be no dataloss? 

-Rasmus

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to