Skip to content

Commit

Permalink
Add uniarg for new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lanbones authored and junyu0312 committed Nov 4, 2024
1 parent 2dc8a32 commit efa82b3
Show file tree
Hide file tree
Showing 5 changed files with 1,335 additions and 712 deletions.
2 changes: 1 addition & 1 deletion core/src/nan_preserving_float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ macro_rules! float {
);
};
($for:ident, $rep:ident, $is:ident, $sign_bit:expr) => {
#[derive(Copy, Clone)]
#[derive(Copy, Clone, Eq)]
pub struct $for($rep);

impl_binop!($for, $is, Add, add);
Expand Down
2 changes: 1 addition & 1 deletion core/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl ValueType {
///
/// There is no distinction between signed and unsigned integer types. Instead, integers are
/// interpreted by respective operations as either unsigned or signed in two’s complement representation.
#[derive(Copy, Clone, Debug, PartialEq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum Value {
/// Value of 32-bit signed or unsigned integer.
I32(i32),
Expand Down
Loading

0 comments on commit efa82b3

Please sign in to comment.