Skip to content

Commit d717e7f

Browse files
authored
[libc] Include double_t and float_t in math.h on baremetal (#85028)
This matches other targets.
1 parent 500e05f commit d717e7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc/config/baremetal/api.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ def IntTypesAPI : PublicAPI<"inttypes.h"> {
5252
let Types = ["imaxdiv_t"];
5353
}
5454

55+
def MathAPI : PublicAPI<"math.h"> {
56+
let Types = ["double_t", "float_t"];
57+
}
58+
5559
def StdIOAPI : PublicAPI<"stdio.h"> {
5660
let Types = ["size_t"];
5761
}

0 commit comments

Comments
 (0)