提交历史

作者 SHA1 备注 提交日期
  Josh Stone 234e855576 Allow large f64-to-f32 to saturate to infinity 4 年之前
  Martin Taibr 652e4204c9 remove example which was never UB from AsPrimitive docs 4 年之前
  Martin Taibr 7d26cecdab update AsPrimitive Safety docs for rust 1.45 4 年之前
  Eduardo Pinho 40908140eb #175 document cast traits about precision loss 4 年之前
  Josh Stone a91bb7b085 Use {float}::to_int_unchecked() in Rust 1.44+ 5 年之前
  Josh Stone 6408853e7d Remove unused #[inline] attributes 5 年之前
  Olivier Chassé St-Laurent fdb41818a4 ToPrimitive: document when `to_` methods can return `None` 5 年之前
  Olivier Chassé St-Laurent 27e3f853b0 NumCast: document when `from` can return `None` 5 年之前
  Olivier Chassé St-Laurent 16cdce31d4 FromPrimitive: fix some comments 5 年之前
  Bruce Mitchener 107a326745 Missing backticks. 5 年之前
  Josh Stone d2bf4e04e4 Run cargo fmt 6 年之前
  Josh Stone 21e3620999 doc: fix a typo, s/the/then/ 7 年之前
  Josh Stone dd7900d62f Avoid closures in default `ToPrimitive` methods 7 年之前
  Josh Stone d968efbc76 Avoid `as` casts in default FromPrimitive methods 7 年之前
  Josh Stone 51f6c57c4b Automatically detect support for i128/u128 7 年之前
  Josh Stone bbbc2bd1d7 impl 128-bit numeric casts 7 年之前
  Josh Stone a4d234c253 Further simplify float-to-int range checks 7 年之前
  Josh Stone f0ed42b3bc Test edge cases of ToPrimitive with ints 7 年之前
  Josh Stone 50868c60d2 Refactor to_primitive_int/uint macros 7 年之前
  Josh Stone 6d7bbb1b53 Mask debug prints no-std mode 7 年之前
  Josh Stone d195eafbe2 Simplify the to_primitive_float macros 7 年之前
  Josh Stone f6dc4d29a4 Add thorough tests of float to int edge cases 7 年之前
  Josh Stone b025c273c7 Rewrite range checks in float ToPrimitive macros 7 年之前
  Dan Barella 8e27c7327d Rename some tests. 7 年之前
  Dan Barella aab7098acd Reformat macros. 7 年之前
  Alexander Popiak c32cb5c65b Patch in apopiak@'s changes from github.com/rust-num/num/pull/135/. 7 年之前
  Dan Barella ab8fda7654 Change assert form. 7 年之前
  Dan Barella ecb0816c83 Remove an unneeded assert. 7 年之前
  Dan Barella 3534a89858 Don't use assert_ne! 7 年之前
  Dan Barella f99aa0e181 Check overflow when casting floats to integers. 7 年之前