summaryrefslogtreecommitdiff
path: root/lib/printf-frexp.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
commit1d8b9e17ea13630aec475484da09ebba0366f7c8 (patch)
tree0c801f68561bfb0930a4ade80d7ca3a7940887ab /lib/printf-frexp.h
parent84e26c587987e8484d55db4165f188b40c09e94b (diff)
parent630f99f29bd31a76d8d24da2975a045452c763ef (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'lib/printf-frexp.h')
-rw-r--r--lib/printf-frexp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/printf-frexp.h b/lib/printf-frexp.h
index 4970c137..8467f98b 100644
--- a/lib/printf-frexp.h
+++ b/lib/printf-frexp.h
@@ -14,6 +14,11 @@
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* Write a finite, positive number x as
x = mantissa * 2^exp
where exp >= DBL_MIN_EXP - 1,
@@ -21,3 +26,8 @@
if x is not a denormalized number then mantissa >= 1.0.
Store exp in *EXPPTR and return mantissa. */
extern double printf_frexp (double x, int *expptr);
+
+
+#ifdef __cplusplus
+}
+#endif