Yes, indeed. <div><br></div><div>I was pointing out that byte_size also gives a curious answer for bits. <div><br></div><div>I believe that Michael was reinforcing what the expected answer would be as I don't believe 4> is actual repl output.<div><br>On Saturday, August 4, 2012 12:29:28 AM UTC-5, Richard O'Keefe wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
<br>On 4/08/2012, at 11:35 AM, Michael Truog wrote:
<br>
<br>> 4> byte_size(B).
<br>> 2.125
<br>
<br>I don't think Joe wants to know how to find the size of a
<br>binary.  He is concerned that size/1 failed to report the
<br>error he expected it to.
<br>
<br>______________________________<wbr>_________________
<br>erlang-questions mailing list
<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a>
<br></blockquote></div></div></div>