Fix bits formatting and parsing. #129

Merged
zxq9 merged 1 commits from fix_bits_formatting into fortuna 2019-03-01 18:36:18 +09:00
zxq9 commented 2019-03-01 06:21:32 +09:00 (Migrated from gitlab.com)

Created by: happi

*Created by: happi*
zxq9 commented 2019-03-01 17:10:39 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
zxq9 commented 2019-03-01 17:44:41 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

Shorter (but tastes may vary):

    Bit = $0 + (N band 1),
    format_bits(N bsr 1, [Bit|Acc]).
*Created by: UlfNorell* Shorter (but tastes may vary): ```erlang Bit = $0 + (N band 1), format_bits(N bsr 1, [Bit|Acc]). ```
zxq9 commented 2019-03-01 17:45:26 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

and then

    Bit = $1 - (N band 1),

here

*Created by: UlfNorell* and then ```erlang Bit = $1 - (N band 1), ``` here
zxq9 commented 2019-03-01 17:46:00 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

Review: Approved

*Created by: UlfNorell* **Review:** Approved
zxq9 commented 2019-03-01 18:34:11 +09:00 (Migrated from gitlab.com)

Created by: happi

Thanks, Ill update this in my next PR.

*Created by: happi* Thanks, Ill update this in my next PR.
zxq9 commented 2019-03-01 18:36:18 +09:00 (Migrated from gitlab.com)

Merged by: happi at 2019-03-01 09:36:18 UTC

*Merged by: happi at 2019-03-01 09:36:18 UTC*
Sign in to join this conversation.
No description provided.