aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/limits.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/limits.cppm')
-rw-r--r--libcxx/modules/std/limits.cppm21
1 files changed, 21 insertions, 0 deletions
diff --git a/libcxx/modules/std/limits.cppm b/libcxx/modules/std/limits.cppm
new file mode 100644
index 000000000000..54ddccd3ff23
--- /dev/null
+++ b/libcxx/modules/std/limits.cppm
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+module;
+#include <limits>
+
+export module std:limits;
+export namespace std {
+ // [fp.style], floating-point type properties
+ using std::float_denorm_style;
+ using std::float_round_style;
+
+ // [numeric.limits], class template numeric_­limits
+ using std::numeric_limits;
+} // namespace std