History

Remove redundant parens

cancel committed 6 years ago

Commit 35741281 parent f8f84681 file · +2 −3Browse files

Unified · Split

sim.c+2−3
@@ -714,9 +714,8 @@ BEGIN_OPERATOR(lerp) · 713 unmodified lines
714714 rate = (Isz)index_of(g);
715715 Isz target = (Isz)index_of(PEEK(0, 1));
716716 Isz val = (Isz)index_of(PEEK(1, 0));
717− Isz mod = (val <= target - rate)
718− ? rate
719− : ((val >= target + rate) ? -rate : target - val);
717+ Isz mod =
718+ val <= target - rate ? rate : val >= target + rate ? -rate : target - val;
720719 POKE(1, 0, glyph_of((Usz)(val + mod)));
721720 END_OPERATOR
722721

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t