<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/83182>83182</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Update preprocessor definitions for type detection
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
gchatelet
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
gchatelet
</td>
</tr>
</table>
<pre>
This is to track the items in https://github.com/llvm/llvm-project/pull/81870#issuecomment-1948099726
i.e.,
- [ ] Rename `float.h` into `types.h`
- [ ] Rename all `#define` in this file to `LIBC_TYPES_HAS_...`
`LIBC_TYPES_HAS_INT64`
`LIBC_TYPES_HAS_FLOAT16`
`LIBC_TYPES_HAS_FLOAT128`
- [ ] Don't expose how the type is provided and use `float16` or `float128` solely (i.e. no `LIBC_COMPILER_HAS_FLOAT128_EXTENSION` nor `LIBC_COMPILER_HAS_C23_FLOAT128`). Added benefit of not defining `LIBC_COMPILER_...` outside of the `compiler.h` file.
- [ ] Update the documentation
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU01vnDAQ_TXmMgoy5vvAYbMf6kppEiVbqT2tDB4Wt8ZG2KTNv68M22zTpKp6AenpzfO8NzPcWnnSiBVJrwljp6bjDhU6whhJNwGfXGfG6gUOaiOeq0MnLUgLzoAbefMNXIcgHfYWpIbOucGSeEXYjrDdSbpuqsPG9ITtlHr69bsaRvMVG0fYbpiUImxXREVOCYultRM2pu9Ru6uoTApaljnLCN0Qulq-MsSQsPXv0BWQ9BpIuoEH1LxHIBltleEu7EhGQWpnPOSeB7Qz9JcyrpTnERYLbKXGpRict9xKhbDo3Oyv18fDl_vt4_HD6vEYhuGLJAC8w9jfHrLkwnlL2N3crQ5R9g-ZhcWKdwxsjCYsd4A_BmMROvN9not37Ic1jOZJChTAtYDJXgKa3wQzXoBZHqxRqJ6BsMLHDfrie3338X5_s3141dFx-_mwvX3c3936Yr3ovaWvWfzKBCtDWAnfV40aW-nAtKCNgzl-qU9vZZawwUzOSoGe732SjDamH6TCcRm5n1b4Z0ifBsEdzgXCNJPfMe6k0QsvEFUsyrjkAVZRTkua5Swpg67CJMpolsURq_O6KJo05Yhp2mQiS6I0LgJZMcoSyljOaJrQMmw5F21eFIJh3qYRkoRiz6UK_fKHZjwF855XRRwVLFC8RmXPR6hk3Zzvb6zmW6mnkyUJVdI6exFw0imszo6GEYfRNGitGc_ZeV8WWjMuOyDQYeOxYBpV9d9XOrdr_Z36jn8GAAD__1cPRHo">