@@ -1312,28 +1312,28 @@ pub fn log2f128(x: f128) -> f128;
1312
1312
/// [`f16::mul_add`](../../std/primitive.f16.html#method.mul_add)
1313
1313
#[ rustc_intrinsic]
1314
1314
#[ rustc_nounwind]
1315
- pub fn fmaf16 ( a : f16 , b : f16 , c : f16 ) -> f16 ;
1315
+ pub const fn fmaf16 ( a : f16 , b : f16 , c : f16 ) -> f16 ;
1316
1316
/// Returns `a * b + c` for `f32` values.
1317
1317
///
1318
1318
/// The stabilized version of this intrinsic is
1319
1319
/// [`f32::mul_add`](../../std/primitive.f32.html#method.mul_add)
1320
1320
#[ rustc_intrinsic]
1321
1321
#[ rustc_nounwind]
1322
- pub fn fmaf32 ( a : f32 , b : f32 , c : f32 ) -> f32 ;
1322
+ pub const fn fmaf32 ( a : f32 , b : f32 , c : f32 ) -> f32 ;
1323
1323
/// Returns `a * b + c` for `f64` values.
1324
1324
///
1325
1325
/// The stabilized version of this intrinsic is
1326
1326
/// [`f64::mul_add`](../../std/primitive.f64.html#method.mul_add)
1327
1327
#[ rustc_intrinsic]
1328
1328
#[ rustc_nounwind]
1329
- pub fn fmaf64 ( a : f64 , b : f64 , c : f64 ) -> f64 ;
1329
+ pub const fn fmaf64 ( a : f64 , b : f64 , c : f64 ) -> f64 ;
1330
1330
/// Returns `a * b + c` for `f128` values.
1331
1331
///
1332
1332
/// The stabilized version of this intrinsic is
1333
1333
/// [`f128::mul_add`](../../std/primitive.f128.html#method.mul_add)
1334
1334
#[ rustc_intrinsic]
1335
1335
#[ rustc_nounwind]
1336
- pub fn fmaf128 ( a : f128 , b : f128 , c : f128 ) -> f128 ;
1336
+ pub const fn fmaf128 ( a : f128 , b : f128 , c : f128 ) -> f128 ;
1337
1337
1338
1338
/// Returns `a * b + c` for `f16` values, non-deterministically executing
1339
1339
/// either a fused multiply-add or two operations with rounding of the
@@ -1347,7 +1347,7 @@ pub fn fmaf128(a: f128, b: f128, c: f128) -> f128;
1347
1347
/// example.
1348
1348
#[ rustc_intrinsic]
1349
1349
#[ rustc_nounwind]
1350
- pub fn fmuladdf16 ( a : f16 , b : f16 , c : f16 ) -> f16 ;
1350
+ pub const fn fmuladdf16 ( a : f16 , b : f16 , c : f16 ) -> f16 ;
1351
1351
/// Returns `a * b + c` for `f32` values, non-deterministically executing
1352
1352
/// either a fused multiply-add or two operations with rounding of the
1353
1353
/// intermediate result.
@@ -1360,7 +1360,7 @@ pub fn fmuladdf16(a: f16, b: f16, c: f16) -> f16;
1360
1360
/// example.
1361
1361
#[ rustc_intrinsic]
1362
1362
#[ rustc_nounwind]
1363
- pub fn fmuladdf32 ( a : f32 , b : f32 , c : f32 ) -> f32 ;
1363
+ pub const fn fmuladdf32 ( a : f32 , b : f32 , c : f32 ) -> f32 ;
1364
1364
/// Returns `a * b + c` for `f64` values, non-deterministically executing
1365
1365
/// either a fused multiply-add or two operations with rounding of the
1366
1366
/// intermediate result.
@@ -1373,7 +1373,7 @@ pub fn fmuladdf32(a: f32, b: f32, c: f32) -> f32;
1373
1373
/// example.
1374
1374
#[ rustc_intrinsic]
1375
1375
#[ rustc_nounwind]
1376
- pub fn fmuladdf64 ( a : f64 , b : f64 , c : f64 ) -> f64 ;
1376
+ pub const fn fmuladdf64 ( a : f64 , b : f64 , c : f64 ) -> f64 ;
1377
1377
/// Returns `a * b + c` for `f128` values, non-deterministically executing
1378
1378
/// either a fused multiply-add or two operations with rounding of the
1379
1379
/// intermediate result.
@@ -1386,7 +1386,7 @@ pub fn fmuladdf64(a: f64, b: f64, c: f64) -> f64;
1386
1386
/// example.
1387
1387
#[ rustc_intrinsic]
1388
1388
#[ rustc_nounwind]
1389
- pub fn fmuladdf128 ( a : f128 , b : f128 , c : f128 ) -> f128 ;
1389
+ pub const fn fmuladdf128 ( a : f128 , b : f128 , c : f128 ) -> f128 ;
1390
1390
1391
1391
/// Returns the largest integer less than or equal to an `f16`.
1392
1392
///
0 commit comments