Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Xiaolin Wu's line algorithm: Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 04:14, 15 June 2017
edit
2001:56a:700f:2500:18ff:17d4:9a71:ba39
(
talk
)
→
Algorithm
← Previous edit
Revision as of 19:09, 15 June 2017
edit
undo
66.225.134.125
(
talk
)
→
Algorithm
Next edit →
Line 23:
// fractional part of x
function fpart(x) is
if x < 0
return 1 - (x - floor(x))
return x - floor(x)