mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
chore: note: round_ties_even
is on stable, but not MSRV yet
Co-Authored-By: Erich Gubler <erichdongubler@gmail.com>
This commit is contained in:
parent
5032291573
commit
f842d80f52
@ -1175,8 +1175,8 @@ impl<'a> ConstantEvaluator<'a> {
|
||||
component_wise_float!(self, span, [arg], |e| { Ok([e.floor()]) })
|
||||
}
|
||||
crate::MathFunction::Round => {
|
||||
// TODO: Use `f{32,64}.round_ties_even()` when available on stable. This polyfill
|
||||
// is shamelessly [~~stolen from~~ inspired by `ndarray-image`][polyfill source],
|
||||
// TODO: this hit stable on 1.77, but MSRV hasn't caught up yet
|
||||
// This polyfill is shamelessly [~~stolen from~~ inspired by `ndarray-image`][polyfill source],
|
||||
// which has licensing compatible with ours. See also
|
||||
// <https://github.com/rust-lang/rust/issues/96710>.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user