lang:c:binarycast
差分
このページの2つのバージョン間の差分を表示します。
lang:c:binarycast [2025/09/12 04:33] – 作成 editor | lang:c:binarycast [2025/09/12 04:35] (現在) – editor | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | バイナリデータで、double 型に変換する方法。 | ||
+ | little endian で確認 | ||
uint64_t x; | uint64_t x; | ||
double v = *(double *) &x; | double v = *(double *) &x; |
lang/c/binarycast.txt · 最終更新: by editor