a b/c bug + ifactor bug
01-11-2014, 03:09 PM
Post: #1
 Peter Van Roy Junior Member Posts: 21 Joined: Jan 2014
a b/c bug + ifactor bug
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
01-11-2014, 04:40 PM
Post: #2
 Thomas Klemm Senior Member Posts: 1,610 Joined: Dec 2013
RE: a b/c bug + ifactor bug
(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
01-11-2014, 06:30 PM
Post: #3
 Helge Gabert Senior Member Posts: 467 Joined: Dec 2013
RE: a b/c bug + ifactor bug
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.
01-11-2014, 07:05 PM (This post was last modified: 01-13-2014 03:35 AM by Helge Gabert.)
Post: #4
 Helge Gabert Senior Member Posts: 467 Joined: Dec 2013
RE: a b/c bug + ifactor bug
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.
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)