[erlang-questions] [erlang-bugs] bug in erlang:size
Michael Truog
mjtruog@REDACTED
Sat Aug 4 01:35:01 CEST 2012
4> byte_size(B).
2.125
On 08/03/2012 04:06 PM, Steve Davis wrote:
> 3> byte_size(B).
> 3
>
>
> On Friday, August 3, 2012 4:12:02 AM UTC-5, Joe Armstrong wrote:
>
> I think this is a bug:
>
> $erl
> 1> B = <<1:17>>.
> <<0,0,1:1>>
> 2> size(B)
> 2
>
>
> B is not a binary or tuple to size(B) should give badarg
>
> /Joe
> _______________________________________________
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120803/c435111b/attachment.htm>
More information about the erlang-questions
mailing list