<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>diningyo-kpuku-jougeki</author_name>
  <author_url>https://blog.hatena.ne.jp/diningyo-kpuku-jougeki/</author_url>
  <blog_title>ハードウェアの気になるあれこれ</blog_title>
  <blog_url>https://tech-diningyo.hatenablog.com/</blog_url>
  <categories>
    <anon>Chisel</anon>
  </categories>
  <description>Twitterでつぶやいてた以下のスレッドに書いてたやつをまとめてみた話。 ある数字Nが表せる状態数のビット幅を取得するとき→log2Ceil(N)その数字Nを表現するために必要なビット数を取得するとき→log2Ceil(N+1)を使えってソースに書いてあった！（ランダム試験で1敗）— &quot;だいにんぎょー&quot;って読むことにした (@diningyo) August 21, 2019 Chisel.util.log2xx サンプルコード書いて調べてみる log2xxの計算結果一覧</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-diningyo.hatenablog.com%2Fentry%2F2019%2F08%2F22%2F225803&quot; title=&quot;Chiselのユーティリティ - log2Up / log2Down / log2Ceil / log2Floorについて - ハードウェアの気になるあれこれ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/d/diningyo-kpuku-jougeki/20190211/20190211140439.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-22 22:58:03</published>
  <title>Chiselのユーティリティ - log2Up / log2Down / log2Ceil / log2Floorについて</title>
  <type>rich</type>
  <url>https://tech-diningyo.hatenablog.com/entry/2019/08/22/225803</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
