Skip to Content
Binary Hacks Rebooted ―低レイヤの世界を探検するテクニック89選
book

Binary Hacks Rebooted ―低レイヤの世界を探検するテクニック89選

by 河田 旺, 小池 悠生, 渡邉 慶一, 佐伯 学哉, 荒田 実樹, 鈴木 創, 中村 孝史, 竹腰 開, 光成 滋生, hikalium, 浜地 慎一郎
August 2024
Intermediate to advanced
660 pages
9h 58m
Japanese
O'Reilly Japan, Inc.
Content preview from Binary Hacks Rebooted ―低レイヤの世界を探検するテクニック89選

7章数値表現とデータ処理HackHack #68–78

コンピュータはさまざまなデータを取り扱います。その中でも、数値は最も普遍的で重要な種類のデータと言ってもよいでしょう。数値と一口に言ってもいろいろありますが、CPUが直接扱える数値は整数と浮動小数点数に大別されます。さらに、CPUによってはいくつかの数値をSIMD命令でまとめて扱うこともできます。

そこで、本章ではこれらについての話題をバイナリアンの観点から紹介します。まずは整数や浮動小数点数のビット列表現から始まり、浮動小数点数にまつわるマニアックな話題、そしてSIMD命令についてのHackを扱います。

[level-easy] HACK #68 整数表現の基礎知識

このHackでは、x86-64やAArch64などの現代の広く使われる計算機で標準的な整数表現について、基本的なトピックを紹介します。

符号なし整数と2の補数による符号付き整数

現代の計算機は2進数で数値を表現します。最も基本的な数の表現は符号なし2進整数で、Nビットの0000...0000から1111...1111までを、〜に対応させます。

負数を扱いたいときは、ビットの1000...00001111...1111を〜に対応させます。0000...00000111...1111の範囲は符号なし整数 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発

LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発

John Berryman, Albert Ziegler, 服部 佑樹, 佐藤 直生
実用 Git 第3版

実用 Git 第3版

Prem Kumar Ponuthorai, Jon Loeliger, 萬谷 暢崇, 長尾 高弘
入門 Python 3 第2版

入門 Python 3 第2版

Bill Lubanovic, 鈴木 駿, 長尾 高弘
実践 Keycloak ―OpenID Connect、OAuth 2.0を利用したモダンアプリケーションのセキュリティー保護

実践 Keycloak ―OpenID Connect、OAuth 2.0を利用したモダンアプリケーションのセキュリティー保護

Stian Thorgersen, Pedro Igor Silva, 和田 広之, 田村 広平, 乗松 隆志, 田畑 義之

Publisher Resources

ISBN: 9784814400850Publisher Website