Talk:Xiaolin Wu's line algorithm: Difference between revisions
Content added Content deleted
(→REXX comment: un-dented a new query. -- ~~~~) |
m (→REXX comment: re-sentencized ''FPART''.) |
||
Line 64: | Line 64: | ||
::: Once you make all numbers non-negative, FLOOR and IPART are synonymous. It's only when using negative numbers that the issue (any difference) is raised. -- [[User:Gerard Schildberger|Gerard Schildberger]] 16:51, 4 June 2012 (UTC) |
::: Once you make all numbers non-negative, FLOOR and IPART are synonymous. It's only when using negative numbers that the issue (any difference) is raised. -- [[User:Gerard Schildberger|Gerard Schildberger]] 16:51, 4 June 2012 (UTC) |
||
Concerning another issue: '''FPART'''. |
|||
⚫ | |||
⚫ | When handling negative coödinates, I was wondering if FPART is doing what it's supposed to do, but I couldn't find a good definition of FPART (with regarding to negative numbers) --- but I'm still rooting around the 'net. For non-negative numbers, the simple definition of FPART (even if wrong), still gives the correct answer. |
||
FPART of 6.78 is +0.78. But what about -8.91 ? Is the fractional part +0.91 or -0.91 ? |
|||
I'm still trying to locate a good definition for it --- I hope the definition isn't tied (or restricted to) any particular computer language. |
|||
Perhaps someone could find a complete/good definition of FPART in their appropriate language reference documentation. -- [[User:Gerard Schildberger|Gerard Schildberger]] 16:46, 4 June 2012 (UTC) |