Skip to content

Commit

Permalink
adjust test gating for f16/f128
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Nov 1, 2024
1 parent e8dfe6e commit f512051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions library/core/src/num/f128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #[cfg(reliable_f128)] {
/// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] {
///
/// let x = 3.5_f128;
/// let y = -3.5_f128;
Expand Down Expand Up @@ -1323,7 +1323,7 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #[cfg(reliable_f128_math)] {
/// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] {
///
/// let f = 3.5_f128;
///
Expand Down Expand Up @@ -1360,7 +1360,7 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #[cfg(reliable_f128_math)] {
/// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] {
///
/// let f = 3.5_f128;
///
Expand Down
6 changes: 3 additions & 3 deletions library/core/src/num/f16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #[cfg(reliable_f16)] {
/// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] {
///
/// let x = 3.5_f16;
/// let y = -3.5_f16;
Expand Down Expand Up @@ -1297,7 +1297,7 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #[cfg(reliable_f16_math)] {
/// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] {
///
/// let f = 3.5_f16;
///
Expand Down Expand Up @@ -1334,7 +1334,7 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #[cfg(reliable_f16_math)] {
/// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] {
///
/// let f = 3.5_f16;
///
Expand Down

0 comments on commit f512051

Please sign in to comment.