Talk:Modular inverse: Difference between revisions
Content added Content deleted
(Handle a < 0?) |
(→Handle a < 0 ?: Seems OK?) |
||
Line 3: | Line 3: | ||
[[User:Stevengj|— Steven G. Johnson]] ([[User talk:Stevengj|talk]]) 16:38, 14 November 2013 (UTC) |
[[User:Stevengj|— Steven G. Johnson]] ([[User talk:Stevengj|talk]]) 16:38, 14 November 2013 (UTC) |
||
:It seems to be neither Steven. You don't have to consider a < 0 to answer the example given in the task description. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 16:45, 14 November 2013 (UTC) |
Revision as of 16:45, 14 November 2013
Handle a < 0 ?
The problem is perfectly well defined for a < 0, but many of the implementations (e.g. the C version and translations thereof) do not handle this case correctly. Is this a bug in the implementations or in the problem specification.
— Steven G. Johnson (talk) 16:38, 14 November 2013 (UTC)