[libc-commits] [libc] 59f7a80 - [libc] Fix `scablnf16` using `float16` instead of `_Float16`

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Aug 10 05:49:33 PDT 2024


Author: Joseph Huber
Date: 2024-08-10T07:48:54-05:00
New Revision: 59f7a806182543c3d1198ad69c478afcc1443521

URL: https://github.com/llvm/llvm-project/commit/59f7a806182543c3d1198ad69c478afcc1443521
DIFF: https://github.com/llvm/llvm-project/commit/59f7a806182543c3d1198ad69c478afcc1443521.diff

LOG: [libc] Fix `scablnf16` using `float16` instead of `_Float16`

Added: 
    

Modified: 
    libc/newhdrgen/yaml/math.yaml

Removed: 
    


################################################################################
diff  --git a/libc/newhdrgen/yaml/math.yaml b/libc/newhdrgen/yaml/math.yaml
index b724ac9fc17c74..f8395522589123 100644
--- a/libc/newhdrgen/yaml/math.yaml
+++ b/libc/newhdrgen/yaml/math.yaml
@@ -2094,9 +2094,9 @@ functions:
   - name: scalblnf16
     standards:
       - stdc
-    return_type: float16
+    return_type: _Float16
     arguments:
-      - type: float16
+      - type: _Float16
       - type: long
     guard: LIBC_TYPES_HAS_FLOAT16
   - name: scalblnl


        


More information about the libc-commits mailing list