[erlang-questions] [erlang-bugs] bug in erlang:size

Steve Davis steven.charles.davis@REDACTED
Sat Aug 4 15:00:54 CEST 2012


Yes, indeed. 

I was pointing out that byte_size also gives a curious answer for bits. 

I believe that Michael was reinforcing what the expected answer would be as 
I don't believe 4> is actual repl output.

On Saturday, August 4, 2012 12:29:28 AM UTC-5, Richard O'Keefe wrote:
>
>
> On 4/08/2012, at 11:35 AM, Michael Truog wrote: 
>
> > 4> byte_size(B). 
> > 2.125 
>
> I don't think Joe wants to know how to find the size of a 
> binary.  He is concerned that size/1 failed to report the 
> error he expected it to. 
>
> _______________________________________________ 
> erlang-questions mailing list 
> erlang-questions@REDACTED 
> http://erlang.org/mailman/listinfo/erlang-questions 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120804/af925e8a/attachment.htm>


More information about the erlang-questions mailing list