Skip to content

Commit ac71b02

Browse files
committed
fixup! [libc][math][c23] Add {,u}fromfp{,x}{,f,l,f128} functions
1 parent 7d8234f commit ac71b02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/docs/dev/undefined_behavior.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ behavior<printf_behavior>`.
8484

8585
Unknown Math Rounding Direction
8686
-------------------------------
87-
The C standard states that if the value of the ``rnd`` argument of the
87+
The C23 standard states that if the value of the ``rnd`` argument of the
8888
``fromfp``, ``ufromfp``, ``fromfpx`` and ``ufromfpx`` functions is not equal to
8989
the value of a math rounding direction macro, the direction of rounding is
9090
unspecified. LLVM's libc chooses to use the ``FP_INT_TONEAREST`` rounding

libc/src/math/generic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ add_entrypoint_object(
20712071
libc.src.__support.macros.properties.types
20722072
libc.src.__support.FPUtil.nearest_integer
20732073
COMPILE_OPTIONS
2074-
-O3
2074+
-O3
20752075
)
20762076

20772077
add_entrypoint_object(

0 commit comments

Comments
 (0)