NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/55693: factor(6) lists factors in wrong order



>Number:         55693
>Category:       bin
>Synopsis:       factor(6) lists factors in wrong order
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 03 20:05:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD 9.0; also -current
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

The factor(6) man page says "Factors are listed in ascending order",
but in the following case, that is not true for the last two factors:

  $ /usr/games/factor 7777777777777777777777777777
  7777777777777777777777777777: 7 11 29 101 239 281 4649 121499449 909091

>How-To-Repeat:

See above.

>Fix:



Home | Main Index | Thread Index | Old Index