Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
enricozb committed Apr 9, 2024
1 parent 966d051 commit 3726563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/programs/f32.hvmc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
& x ~ [n x] & #-1.0 ~ <f32./ #0.0 n> // -inf
& x ~ [n x] & #0.0 ~ <f32./ #0.0 n> // NaN

// f32 <op> int
// general operators
& x ~ [n x] & @half ~ <f32.+ #2.0 n> // 2.5
& x ~ [n x] & @half ~ <f32.- #2.0 n> // -1.5
& x ~ [n x] & @half ~ <f32.* #2.0 n> // 1
& x ~ [n x] & @half ~ <f32.* #2.3 n> // 1.15
& x ~ [n x] & @half ~ <f32./ #2.0 n> // 0.25
& x ~ [n x] & @half ~ <f32.% #2.0 n> // 0.5
& x ~ [n x] & @half ~ <f32.== #2.0 n> // 0
Expand Down

0 comments on commit 3726563

Please sign in to comment.