Skip to content

Commit

Permalink
[libc] Include double_t and float_t in math.h on baremetal (#85028)
Browse files Browse the repository at this point in the history
This matches other targets.
  • Loading branch information
petrhosek committed Mar 15, 2024
1 parent 500e05f commit d717e7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libc/config/baremetal/api.td
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def IntTypesAPI : PublicAPI<"inttypes.h"> {
let Types = ["imaxdiv_t"];
}

def MathAPI : PublicAPI<"math.h"> {
let Types = ["double_t", "float_t"];
}

def StdIOAPI : PublicAPI<"stdio.h"> {
let Types = ["size_t"];
}
Expand Down

0 comments on commit d717e7f

Please sign in to comment.