Module:Rational: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
m Todo |
||
| Line 1,086: | Line 1,086: | ||
-- FJS representation of a rational number | -- FJS representation of a rational number | ||
-- | -- NOTE: incorrect for prime 127 and possibly other rare cases | ||
-- TODO: | -- TODO: identify the exact problem and fix it | ||
function p.as_FJS(a) | function p.as_FJS(a) | ||
if type(a) == "number" then | if type(a) == "number" then | ||