File 1127-Specify-in-docs-that-the-beam-uses-64-bit-floats.patch of Package erlang

From e4c90b9dc1dad4883a07b18da283fd6282118a62 Mon Sep 17 00:00:00 2001
From: Benjamin Milde <benni@kobrakai.de>
Date: Mon, 4 Jul 2022 12:01:02 +0200
Subject: [PATCH] Specify in docs that the beam uses 64-bit floats

---
 system/doc/reference_manual/data_types.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/doc/reference_manual/data_types.xml b/system/doc/reference_manual/data_types.xml
index 3c12fa4b0e..1a4bdc5680 100644
--- a/system/doc/reference_manual/data_types.xml
+++ b/system/doc/reference_manual/data_types.xml
@@ -93,8 +93,8 @@
       <p>When working with floats you may not see what you expect when printing or
         doing arithmetic operations. This is because floats
         are represented by a fixed number of bits in a base-2 system while
-        printed floats are represented with a base-10 system. Here are
-        examples of this phenomenon:
+        printed floats are represented with a base-10 system. Erlang
+        uses 64-bit floats. Here are examples of this phenomenon:
       </p>
       <pre>
 > <input>0.1+0.2.</input>
-- 
2.35.3

openSUSE Build Service is sponsored by