ahrefs / atd

Static types for JSON APIs
Other
308 stars 53 forks source link

atdcpp: use double by default instead of float #411

Closed elrandar closed 1 month ago

elrandar commented 1 month ago

This PR changes the default floating point type of the c++ backend to be double instead of float. This is to be closer to OCaml, where the float type uses double precision by default.