summaryrefslogtreecommitdiff
path: root/lib/printf-frexpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/printf-frexpl.h')
-rw-r--r--lib/printf-frexpl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/printf-frexpl.h b/lib/printf-frexpl.h
index b1adfd7f..11562ed3 100644
--- a/lib/printf-frexpl.h
+++ b/lib/printf-frexpl.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 >= LDBL_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 long double printf_frexpl (long double x, int *expptr);
+
+
+#ifdef __cplusplus
+}
+#endif