HP Forums
a b/c bug + ifactor bug - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: a b/c bug + ifactor bug (/thread-403.html)



a b/c bug + ifactor bug - Peter Van Roy - 01-11-2014 03:09 PM

Hello,

I am new to this list, but I am an enthusiastic HP Prime user and I hope that they iron out all the early problems. I found two problems:

1. In Home mode, enter: 1.2+0i
Then press a b/c -> this cycles between 1.2, 6/5, and 1+(1+i)/5.
Type or conversion problem between complex and real?

2. In CAS mode, start by entering: ifactor(2ˆ101+1003).
Then enter: ifactor((2ˆ101+1001)*(largest factor of 2ˆ101+1003))
where "(largest factor of 2ˆ101+1003)" is replaced by its meaning.
This returns a strange result:
-1*-177509...24691
The latter is the value of (2ˆ101+1001)*(largest factor of 2ˆ1001+1003).

Peter


RE: a b/c bug + ifactor bug - Thomas Klemm - 01-11-2014 04:40 PM

(01-11-2014 03:09 PM)Peter Van Roy Wrote:  This returns a strange result:
-1*-177509...24691
The latter is the value of (2ˆ101+1001)*(largest factor of 2ˆ1001+1003).

Not a bug. Works as designed by NSA. You're not allowed to factor numbers that are too big.
What are you trying to accomplish by the way?

Cheers
Thomas


RE: a b/c bug + ifactor bug - Helge Gabert - 01-11-2014 06:30 PM

RE: a b/c: definitely a "display" bug. If you grab the erroneous expression from the history line, it becomes 1+1/5 and the "i" disappears.


RE: a b/c bug + ifactor bug - Helge Gabert - 01-11-2014 07:05 PM

Re: ifactor

Yep, also a problem - - same with ifactors(your large composite) returns

[-1 1 -177 . . . 1]

The factor -1 seems to occur with integers greater than 10^32.