[libc][math] Fix missing const in hdrgen signatures for totalordermag* (#103935)
This commit is contained in:
@@ -2361,37 +2361,37 @@ functions:
|
||||
- stdc
|
||||
return_type: int
|
||||
arguments:
|
||||
- type: double *
|
||||
- type: double *
|
||||
- type: const double *
|
||||
- type: const double *
|
||||
- name: totalordermagf
|
||||
standards:
|
||||
- stdc
|
||||
return_type: int
|
||||
arguments:
|
||||
- type: float *
|
||||
- type: float *
|
||||
- type: const float *
|
||||
- type: const float *
|
||||
- name: totalordermagl
|
||||
standards:
|
||||
- stdc
|
||||
return_type: int
|
||||
arguments:
|
||||
- type: long double *
|
||||
- type: long double *
|
||||
- type: const long double *
|
||||
- type: const long double *
|
||||
- name: totalordermagf128
|
||||
standards:
|
||||
- stdc
|
||||
return_type: int
|
||||
arguments:
|
||||
- type: float128 *
|
||||
- type: float128 *
|
||||
- type: const float128 *
|
||||
- type: const float128 *
|
||||
guard: LIBC_TYPES_HAS_FLOAT128
|
||||
- name: totalordermagf16
|
||||
standards:
|
||||
- stdc
|
||||
return_type: int
|
||||
arguments:
|
||||
- type: _Float16 *
|
||||
- type: _Float16 *
|
||||
- type: const _Float16 *
|
||||
- type: const _Float16 *
|
||||
guard: LIBC_TYPES_HAS_FLOAT16
|
||||
- name: trunc
|
||||
standards:
|
||||
|
||||
@@ -752,11 +752,11 @@ def StdC : StandardSpec<"stdc"> {
|
||||
GuardedFunctionSpec<"totalorderf16", RetValSpec<IntType>, [ArgSpec<ConstFloat16Ptr>, ArgSpec<ConstFloat16Ptr>], "LIBC_TYPES_HAS_FLOAT16">,
|
||||
GuardedFunctionSpec<"totalorderf128", RetValSpec<IntType>, [ArgSpec<ConstFloat128Ptr>, ArgSpec<ConstFloat128Ptr>], "LIBC_TYPES_HAS_FLOAT128">,
|
||||
|
||||
FunctionSpec<"totalordermag", RetValSpec<IntType>, [ArgSpec<DoublePtr>, ArgSpec<DoublePtr>]>,
|
||||
FunctionSpec<"totalordermagf", RetValSpec<IntType>, [ArgSpec<FloatPtr>, ArgSpec<FloatPtr>]>,
|
||||
FunctionSpec<"totalordermagl", RetValSpec<IntType>, [ArgSpec<LongDoublePtr>, ArgSpec<LongDoublePtr>]>,
|
||||
GuardedFunctionSpec<"totalordermagf16", RetValSpec<IntType>, [ArgSpec<Float16Ptr>, ArgSpec<Float16Ptr>], "LIBC_TYPES_HAS_FLOAT16">,
|
||||
GuardedFunctionSpec<"totalordermagf128", RetValSpec<IntType>, [ArgSpec<Float128Ptr>, ArgSpec<Float128Ptr>], "LIBC_TYPES_HAS_FLOAT128">,
|
||||
FunctionSpec<"totalordermag", RetValSpec<IntType>, [ArgSpec<ConstDoublePtr>, ArgSpec<ConstDoublePtr>]>,
|
||||
FunctionSpec<"totalordermagf", RetValSpec<IntType>, [ArgSpec<ConstFloatPtr>, ArgSpec<ConstFloatPtr>]>,
|
||||
FunctionSpec<"totalordermagl", RetValSpec<IntType>, [ArgSpec<ConstLongDoublePtr>, ArgSpec<ConstLongDoublePtr>]>,
|
||||
GuardedFunctionSpec<"totalordermagf16", RetValSpec<IntType>, [ArgSpec<ConstFloat16Ptr>, ArgSpec<ConstFloat16Ptr>], "LIBC_TYPES_HAS_FLOAT16">,
|
||||
GuardedFunctionSpec<"totalordermagf128", RetValSpec<IntType>, [ArgSpec<ConstFloat128Ptr>, ArgSpec<ConstFloat128Ptr>], "LIBC_TYPES_HAS_FLOAT128">,
|
||||
|
||||
FunctionSpec<"getpayload", RetValSpec<DoubleType>, [ArgSpec<DoublePtr>]>,
|
||||
FunctionSpec<"getpayloadf", RetValSpec<FloatType>, [ArgSpec<FloatPtr>]>,
|
||||
|
||||
Reference in New Issue
Block a user