1
0
mirror of synced 2024-11-28 17:40:51 +01:00

fix: Typo of IEEE 754 (#856)

This commit is contained in:
Chien Wong 2023-01-06 20:12:10 +08:00 committed by GitHub
parent d0b3a60a09
commit 27cf5953ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 130 additions and 130 deletions

View File

@ -457,20 +457,20 @@
"hex.builtin.tools.format.scientific": "Wissenschaftlich",
"hex.builtin.tools.format.standard": "Standard",
"hex.builtin.tools.history": "Verlauf",
"hex.builtin.tools.ieee756": "IEEE 756 Gleitkommazahl Tester",
"hex.builtin.tools.ieee756.double_precision": "Doppelte Genauigkeit",
"hex.builtin.tools.ieee756.exponent": "Exponent",
"hex.builtin.tools.ieee756.exponent_size": "Exponentengrösse",
"hex.builtin.tools.ieee756.formula": "Formel",
"hex.builtin.tools.ieee756.half_precision": "Halbe Genauigkeit",
"hex.builtin.tools.ieee756.mantissa": "Mantisse",
"hex.builtin.tools.ieee756.mantissa_size": "Mantissengrösse",
"hex.builtin.tools.ieee756.result.float": "Gleitkomma Resultat",
"hex.builtin.tools.ieee756.result.hex": "Hexadezimal Resultat",
"hex.builtin.tools.ieee756.result.title": "Resultat",
"hex.builtin.tools.ieee756.sign": "Vorzeichen",
"hex.builtin.tools.ieee756.singe_precision": "Einfache Genauigkeit",
"hex.builtin.tools.ieee756.type": "Typ",
"hex.builtin.tools.ieee754": "IEEE 754 Gleitkommazahl Tester",
"hex.builtin.tools.ieee754.double_precision": "Doppelte Genauigkeit",
"hex.builtin.tools.ieee754.exponent": "Exponent",
"hex.builtin.tools.ieee754.exponent_size": "Exponentengrösse",
"hex.builtin.tools.ieee754.formula": "Formel",
"hex.builtin.tools.ieee754.half_precision": "Halbe Genauigkeit",
"hex.builtin.tools.ieee754.mantissa": "Mantisse",
"hex.builtin.tools.ieee754.mantissa_size": "Mantissengrösse",
"hex.builtin.tools.ieee754.result.float": "Gleitkomma Resultat",
"hex.builtin.tools.ieee754.result.hex": "Hexadezimal Resultat",
"hex.builtin.tools.ieee754.result.title": "Resultat",
"hex.builtin.tools.ieee754.sign": "Vorzeichen",
"hex.builtin.tools.ieee754.singe_precision": "Einfache Genauigkeit",
"hex.builtin.tools.ieee754.type": "Typ",
"hex.builtin.tools.input": "Input",
"hex.builtin.tools.name": "Name",
"hex.builtin.tools.permissions": "UNIX Berechtigungsrechner",

View File

@ -458,20 +458,20 @@
"hex.builtin.tools.format.scientific": "Scientific",
"hex.builtin.tools.format.standard": "Standard",
"hex.builtin.tools.history": "History",
"hex.builtin.tools.ieee756": "IEEE 756 Floating Point Tester",
"hex.builtin.tools.ieee756.double_precision": "Double Precision",
"hex.builtin.tools.ieee756.exponent": "Exponent",
"hex.builtin.tools.ieee756.exponent_size": "Exponent Size",
"hex.builtin.tools.ieee756.formula": "Formula",
"hex.builtin.tools.ieee756.half_precision": "Half Precision",
"hex.builtin.tools.ieee756.mantissa": "Mantissa",
"hex.builtin.tools.ieee756.mantissa_size": "Mantissa Size",
"hex.builtin.tools.ieee756.result.float": "Floating Point Result",
"hex.builtin.tools.ieee756.result.hex": "Hexadecimal Result",
"hex.builtin.tools.ieee756.result.title": "Result",
"hex.builtin.tools.ieee756.sign": "Sign",
"hex.builtin.tools.ieee756.singe_precision": "Single Precision",
"hex.builtin.tools.ieee756.type": "Type",
"hex.builtin.tools.ieee754": "IEEE 754 Floating Point Tester",
"hex.builtin.tools.ieee754.double_precision": "Double Precision",
"hex.builtin.tools.ieee754.exponent": "Exponent",
"hex.builtin.tools.ieee754.exponent_size": "Exponent Size",
"hex.builtin.tools.ieee754.formula": "Formula",
"hex.builtin.tools.ieee754.half_precision": "Half Precision",
"hex.builtin.tools.ieee754.mantissa": "Mantissa",
"hex.builtin.tools.ieee754.mantissa_size": "Mantissa Size",
"hex.builtin.tools.ieee754.result.float": "Floating Point Result",
"hex.builtin.tools.ieee754.result.hex": "Hexadecimal Result",
"hex.builtin.tools.ieee754.result.title": "Result",
"hex.builtin.tools.ieee754.sign": "Sign",
"hex.builtin.tools.ieee754.singe_precision": "Single Precision",
"hex.builtin.tools.ieee754.type": "Type",
"hex.builtin.tools.input": "Input",
"hex.builtin.tools.name": "Name",
"hex.builtin.tools.permissions": "UNIX Permissions Calculator",

View File

@ -456,20 +456,20 @@
"hex.builtin.tools.format.scientific": "Scientifica",
"hex.builtin.tools.format.standard": "Standard",
"hex.builtin.tools.history": "Storia",
"hex.builtin.tools.ieee756": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.double_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.exponent": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.exponent_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.formula": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.half_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.mantissa": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.mantissa_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.result.float": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.result.hex": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.result.title": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.sign": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.singe_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.type": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.double_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.exponent": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.exponent_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.formula": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.half_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.mantissa": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.mantissa_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.result.float": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.result.hex": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.result.title": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.sign": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.singe_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.type": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.input": "Input",
"hex.builtin.tools.name": "Nome",
"hex.builtin.tools.permissions": "Calcolatrice dei permessi UNIX",

View File

@ -456,20 +456,20 @@
"hex.builtin.tools.format.scientific": "科学",
"hex.builtin.tools.format.standard": "基本",
"hex.builtin.tools.history": "履歴",
"hex.builtin.tools.ieee756": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.double_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.exponent": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.exponent_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.formula": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.half_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.mantissa": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.mantissa_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.result.float": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.result.hex": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.result.title": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.sign": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.singe_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee756.type": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.double_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.exponent": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.exponent_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.formula": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.half_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.mantissa": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.mantissa_size": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.result.float": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.result.hex": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.result.title": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.sign": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.singe_precision": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.ieee754.type": "***** MISSING TRANSLATION *****",
"hex.builtin.tools.input": "入力",
"hex.builtin.tools.name": "名前",
"hex.builtin.tools.permissions": "UNIXパーミッション計算機",

View File

@ -456,20 +456,20 @@
"hex.builtin.tools.format.scientific": "공학용",
"hex.builtin.tools.format.standard": "표준",
"hex.builtin.tools.history": "이력",
"hex.builtin.tools.ieee756": "IEEE 756 부동 소수점 테스트",
"hex.builtin.tools.ieee756.double_precision": "Double Precision",
"hex.builtin.tools.ieee756.exponent": "지수부",
"hex.builtin.tools.ieee756.exponent_size": "지수부 크기",
"hex.builtin.tools.ieee756.formula": "공식",
"hex.builtin.tools.ieee756.half_precision": "Half Precision",
"hex.builtin.tools.ieee756.mantissa": "가수부",
"hex.builtin.tools.ieee756.mantissa_size": "가수부 크기",
"hex.builtin.tools.ieee756.result.float": "부동 소수점 결과",
"hex.builtin.tools.ieee756.result.hex": "16진수 결과",
"hex.builtin.tools.ieee756.result.title": "결과",
"hex.builtin.tools.ieee756.sign": "부포",
"hex.builtin.tools.ieee756.singe_precision": "Single Precision",
"hex.builtin.tools.ieee756.type": "종류",
"hex.builtin.tools.ieee754": "IEEE 754 부동 소수점 테스트",
"hex.builtin.tools.ieee754.double_precision": "Double Precision",
"hex.builtin.tools.ieee754.exponent": "지수부",
"hex.builtin.tools.ieee754.exponent_size": "지수부 크기",
"hex.builtin.tools.ieee754.formula": "공식",
"hex.builtin.tools.ieee754.half_precision": "Half Precision",
"hex.builtin.tools.ieee754.mantissa": "가수부",
"hex.builtin.tools.ieee754.mantissa_size": "가수부 크기",
"hex.builtin.tools.ieee754.result.float": "부동 소수점 결과",
"hex.builtin.tools.ieee754.result.hex": "16진수 결과",
"hex.builtin.tools.ieee754.result.title": "결과",
"hex.builtin.tools.ieee754.sign": "부포",
"hex.builtin.tools.ieee754.singe_precision": "Single Precision",
"hex.builtin.tools.ieee754.type": "종류",
"hex.builtin.tools.input": "입력",
"hex.builtin.tools.name": "이름",
"hex.builtin.tools.permissions": "UNIX 권한 계산기",

View File

@ -456,20 +456,20 @@
"hex.builtin.tools.format.scientific": "Scientific",
"hex.builtin.tools.format.standard": "Standard",
"hex.builtin.tools.history": "History",
"hex.builtin.tools.ieee756": "IEEE 756 Floating Point Tester",
"hex.builtin.tools.ieee756.double_precision": "Double Precision",
"hex.builtin.tools.ieee756.exponent": "Exponent",
"hex.builtin.tools.ieee756.exponent_size": "Exponent Size",
"hex.builtin.tools.ieee756.formula": "Formula",
"hex.builtin.tools.ieee756.half_precision": "Half Precision",
"hex.builtin.tools.ieee756.mantissa": "Mantissa",
"hex.builtin.tools.ieee756.mantissa_size": "Mantissa Size",
"hex.builtin.tools.ieee756.result.float": "Resultado de ponto flutuante",
"hex.builtin.tools.ieee756.result.hex": "Resultado Hexadecimal",
"hex.builtin.tools.ieee756.result.title": "Resultado",
"hex.builtin.tools.ieee756.sign": "Sign",
"hex.builtin.tools.ieee756.singe_precision": "Single Precision",
"hex.builtin.tools.ieee756.type": "Tipo",
"hex.builtin.tools.ieee754": "IEEE 754 Floating Point Tester",
"hex.builtin.tools.ieee754.double_precision": "Double Precision",
"hex.builtin.tools.ieee754.exponent": "Exponent",
"hex.builtin.tools.ieee754.exponent_size": "Exponent Size",
"hex.builtin.tools.ieee754.formula": "Formula",
"hex.builtin.tools.ieee754.half_precision": "Half Precision",
"hex.builtin.tools.ieee754.mantissa": "Mantissa",
"hex.builtin.tools.ieee754.mantissa_size": "Mantissa Size",
"hex.builtin.tools.ieee754.result.float": "Resultado de ponto flutuante",
"hex.builtin.tools.ieee754.result.hex": "Resultado Hexadecimal",
"hex.builtin.tools.ieee754.result.title": "Resultado",
"hex.builtin.tools.ieee754.sign": "Sign",
"hex.builtin.tools.ieee754.singe_precision": "Single Precision",
"hex.builtin.tools.ieee754.type": "Tipo",
"hex.builtin.tools.input": "Input",
"hex.builtin.tools.name": "Nome",
"hex.builtin.tools.permissions": "Calculadora de Permissões UNIX",

View File

@ -455,20 +455,20 @@
"hex.builtin.tools.format.scientific": "科学",
"hex.builtin.tools.format.standard": "标准",
"hex.builtin.tools.history": "历史",
"hex.builtin.tools.ieee756": "IEEE 756 浮点数测试器",
"hex.builtin.tools.ieee756.double_precision": "双精度浮点数",
"hex.builtin.tools.ieee756.exponent": "指数",
"hex.builtin.tools.ieee756.exponent_size": "指数位数",
"hex.builtin.tools.ieee756.formula": "计算式",
"hex.builtin.tools.ieee756.half_precision": "半精度浮点数",
"hex.builtin.tools.ieee756.mantissa": "尾数",
"hex.builtin.tools.ieee756.mantissa_size": "尾数位数",
"hex.builtin.tools.ieee756.result.float": "十进制小数表示",
"hex.builtin.tools.ieee756.result.hex": "十六进制小数表示",
"hex.builtin.tools.ieee756.result.title": "结果",
"hex.builtin.tools.ieee756.sign": "符号",
"hex.builtin.tools.ieee756.singe_precision": "单精度浮点数",
"hex.builtin.tools.ieee756.type": "部分",
"hex.builtin.tools.ieee754": "IEEE 754 浮点数测试器",
"hex.builtin.tools.ieee754.double_precision": "双精度浮点数",
"hex.builtin.tools.ieee754.exponent": "指数",
"hex.builtin.tools.ieee754.exponent_size": "指数位数",
"hex.builtin.tools.ieee754.formula": "计算式",
"hex.builtin.tools.ieee754.half_precision": "半精度浮点数",
"hex.builtin.tools.ieee754.mantissa": "尾数",
"hex.builtin.tools.ieee754.mantissa_size": "尾数位数",
"hex.builtin.tools.ieee754.result.float": "十进制小数表示",
"hex.builtin.tools.ieee754.result.hex": "十六进制小数表示",
"hex.builtin.tools.ieee754.result.title": "结果",
"hex.builtin.tools.ieee754.sign": "符号",
"hex.builtin.tools.ieee754.singe_precision": "单精度浮点数",
"hex.builtin.tools.ieee754.type": "部分",
"hex.builtin.tools.input": "输入",
"hex.builtin.tools.name": "名称",
"hex.builtin.tools.permissions": "UNIX 权限计算器",

View File

@ -456,20 +456,20 @@
"hex.builtin.tools.format.scientific": "科學",
"hex.builtin.tools.format.standard": "標準",
"hex.builtin.tools.history": "歷史",
"hex.builtin.tools.ieee756": "IEEE 756 浮點數測試工具",
"hex.builtin.tools.ieee756.double_precision": "雙精度",
"hex.builtin.tools.ieee756.exponent": "指數",
"hex.builtin.tools.ieee756.exponent_size": "指數大小",
"hex.builtin.tools.ieee756.formula": "Formula",
"hex.builtin.tools.ieee756.half_precision": "半精度",
"hex.builtin.tools.ieee756.mantissa": "尾數",
"hex.builtin.tools.ieee756.mantissa_size": "尾數大小",
"hex.builtin.tools.ieee756.result.float": "浮點數結果",
"hex.builtin.tools.ieee756.result.hex": "十六進位結果",
"hex.builtin.tools.ieee756.result.title": "結果",
"hex.builtin.tools.ieee756.sign": "符號",
"hex.builtin.tools.ieee756.singe_precision": "單精度",
"hex.builtin.tools.ieee756.type": "類型",
"hex.builtin.tools.ieee754": "IEEE 754 浮點數測試工具",
"hex.builtin.tools.ieee754.double_precision": "雙精度",
"hex.builtin.tools.ieee754.exponent": "指數",
"hex.builtin.tools.ieee754.exponent_size": "指數大小",
"hex.builtin.tools.ieee754.formula": "Formula",
"hex.builtin.tools.ieee754.half_precision": "半精度",
"hex.builtin.tools.ieee754.mantissa": "尾數",
"hex.builtin.tools.ieee754.mantissa_size": "尾數大小",
"hex.builtin.tools.ieee754.result.float": "浮點數結果",
"hex.builtin.tools.ieee754.result.hex": "十六進位結果",
"hex.builtin.tools.ieee754.result.title": "結果",
"hex.builtin.tools.ieee754.sign": "符號",
"hex.builtin.tools.ieee754.singe_precision": "單精度",
"hex.builtin.tools.ieee754.type": "類型",
"hex.builtin.tools.input": "輸入",
"hex.builtin.tools.name": "名稱",
"hex.builtin.tools.permissions": "UNIX 權限計算機",

View File

@ -1116,7 +1116,7 @@ namespace hex::plugin::builtin {
}
}
void drawIEEE756Helper() {
void drawIEEE754Helper() {
static u128 value = 0x00;
static int exponentBitCount = 8, mantissaBitCount = 23;
@ -1151,9 +1151,9 @@ namespace hex::plugin::builtin {
const auto mantissaBits = ExtractBits(mantissaBitPosition, mantissaBitCount);
if (ImGui::BeginTable("##outer", 4, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoKeepColumnsVisible | ImGuiTableFlags_ScrollX, ImVec2(0, ImGui::GetTextLineHeightWithSpacing() * 4))) {
ImGui::TableSetupColumn("hex.builtin.tools.ieee756.sign"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee756.exponent"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee756.mantissa"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee754.sign"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee754.exponent"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee754.mantissa"_lang);
ImGui::TableHeadersRow();
ImGui::TableNextRow();
@ -1176,16 +1176,16 @@ namespace hex::plugin::builtin {
}
{
ImGui::SliderInt("hex.builtin.tools.ieee756.exponent_size"_lang, &exponentBitCount, 1, 128 - mantissaBitCount);
ImGui::SliderInt("hex.builtin.tools.ieee756.mantissa_size"_lang, &mantissaBitCount, 1, 128 - exponentBitCount);
ImGui::SliderInt("hex.builtin.tools.ieee754.exponent_size"_lang, &exponentBitCount, 1, 128 - mantissaBitCount);
ImGui::SliderInt("hex.builtin.tools.ieee754.mantissa_size"_lang, &mantissaBitCount, 1, 128 - exponentBitCount);
ImGui::Separator();
if (ImGui::Button("hex.builtin.tools.ieee756.half_precision"_lang)) { exponentBitCount = 5; mantissaBitCount = 10; }
if (ImGui::Button("hex.builtin.tools.ieee754.half_precision"_lang)) { exponentBitCount = 5; mantissaBitCount = 10; }
ImGui::SameLine();
if (ImGui::Button("hex.builtin.tools.ieee756.singe_precision"_lang)) { exponentBitCount = 8; mantissaBitCount = 23; }
if (ImGui::Button("hex.builtin.tools.ieee754.singe_precision"_lang)) { exponentBitCount = 8; mantissaBitCount = 23; }
ImGui::SameLine();
if (ImGui::Button("hex.builtin.tools.ieee756.double_precision"_lang)) { exponentBitCount = 11; mantissaBitCount = 52; }
if (ImGui::Button("hex.builtin.tools.ieee754.double_precision"_lang)) { exponentBitCount = 11; mantissaBitCount = 52; }
ImGui::Separator();
ImGui::NewLine();
@ -1230,18 +1230,18 @@ namespace hex::plugin::builtin {
if (ImGui::BeginTable("##result", 5, ImGuiTableFlags_RowBg | ImGuiTableFlags_SizingFixedFit)) {
ImGui::TableSetupColumn("hex.builtin.tools.ieee756.type"_lang, ImGuiTableColumnFlags_IndentEnable);
ImGui::TableSetupColumn("hex.builtin.tools.ieee754.type"_lang, ImGuiTableColumnFlags_IndentEnable);
ImGui::TableSetupColumn("##padding", ImGuiTableColumnFlags_WidthFixed, 30_scaled);
ImGui::TableSetupColumn("hex.builtin.tools.ieee756.formula"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee754.formula"_lang);
ImGui::TableSetupColumn("##equals");
ImGui::TableSetupColumn("hex.builtin.tools.ieee756.result.title"_lang);
ImGui::TableSetupColumn("hex.builtin.tools.ieee754.result.title"_lang);
ImGui::TableHeadersRow();
ImGui::TableNextRow();
ImGui::TableNextColumn();
ImGui::TextUnformatted("hex.builtin.tools.ieee756.sign"_lang);
ImGui::TextUnformatted("hex.builtin.tools.ieee754.sign"_lang);
ImGui::TableNextColumn();
ImGui::TableNextColumn();
ImGui::TextFormatted("(-1)^{0}", signBits);
@ -1251,7 +1251,7 @@ namespace hex::plugin::builtin {
ImGui::TextFormatted("{0}", signValue);
ImGui::TableNextColumn();
ImGui::TextUnformatted("hex.builtin.tools.ieee756.exponent"_lang);
ImGui::TextUnformatted("hex.builtin.tools.ieee754.exponent"_lang);
ImGui::TableNextColumn();
ImGui::TableNextColumn();
ImGui::TextFormatted("2^({0} - {1})", exponentBits, exponentBias);
@ -1261,7 +1261,7 @@ namespace hex::plugin::builtin {
ImGui::TextFormatted("{0:.8G}", exponentValue);
ImGui::TableNextColumn();
ImGui::TextUnformatted("hex.builtin.tools.ieee756.mantissa"_lang);
ImGui::TextUnformatted("hex.builtin.tools.ieee754.mantissa"_lang);
ImGui::TableNextColumn();
ImGui::TableNextColumn();
ImGui::TextFormatted("1.0 + 0x{0:02X}", mantissaBits);
@ -1276,7 +1276,7 @@ namespace hex::plugin::builtin {
ImGui::TableNextRow();
ImGui::TableNextColumn();
ImGui::TextUnformatted("hex.builtin.tools.ieee756.result.float"_lang);
ImGui::TextUnformatted("hex.builtin.tools.ieee754.result.float"_lang);
ImGui::TableNextColumn();
ImGui::TableNextColumn();
ImGui::TextFormatted("{0} * {1:.8G} * {2:.8G}", signValue, exponentValue, mantissaValue);
@ -1303,7 +1303,7 @@ namespace hex::plugin::builtin {
}
ImGui::TableNextColumn();
ImGui::TextUnformatted("hex.builtin.tools.ieee756.result.hex"_lang);
ImGui::TextUnformatted("hex.builtin.tools.ieee754.result.hex"_lang);
ImGui::TableNextColumn();
ImGui::TableNextColumn();
ImGui::TableNextColumn();
@ -1329,7 +1329,7 @@ namespace hex::plugin::builtin {
ContentRegistry::Tools::add("hex.builtin.tools.file_uploader", drawFileUploader);
ContentRegistry::Tools::add("hex.builtin.tools.wiki_explain", drawWikiExplainer);
ContentRegistry::Tools::add("hex.builtin.tools.file_tools", drawFileTools);
ContentRegistry::Tools::add("hex.builtin.tools.ieee756", drawIEEE756Helper);
ContentRegistry::Tools::add("hex.builtin.tools.ieee754", drawIEEE754Helper);
}
}