![]() |
|
|
#1443 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
I looked all of them over, I have no care to look over 1000's of threads to find any values to check i have no idea what to do obviously, so I'm of no use regardless.
|
|
|
|
|
|
#1444 |
|
Mar 2006
Germany
22·727 Posts |
That's how I would and do it:
- read more about the problem to understand things like input, output, exceptions - try an example by hand/calculator to verify if I understand the problem correct and check against other examples found somewhere - try to find a simple algorithm in the computer language I want to use: datatypes, a simple flow chart, ignoring for first exceptions but only run and give a result - write the program - testing the program with my own examples and verify against others - try to cover the exceptions - testing again - optimize (if needed/wanted) the code - testing again - in all steps, documenting is essential -> after all this is done, realease the code/program to others, let them test, too -> final release Finding the algorithm and code is the least part of all. Exceptions or misuse/false inputs are quite more. The most time is testing and find the limits of the code, emilminate those errors a user can cause and the documentation. Last fiddled with by kar_bon on 2010-09-13 at 16:34 |
|
|
|
|
|
#1445 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
inputs are n the number to find the sequence to: the only failure in my code is not checking over v.
|
|
|
|
|
|
#1446 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Code:
...for(y=1,#v-1,if(d==v[y] || d==1,break(3)))... and I still now get about the temp directory error: Code:
sigma: couldn't find a suitable name for a tempdir (MPQS). |
|
|
|
|
|
#1447 | |
|
Aug 2006
3·1,993 Posts |
Quote:
This function is called only in the MPQS initialization (mpqs_i). |
|
|
|
|
|
|
#1448 | |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Quote:
Last fiddled with by science_man_88 on 2010-09-15 at 22:46 |
|
|
|
|
|
|
#1449 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
I get the error below:
|
|
|
|
|
|
#1450 |
|
Aug 2006
175B16 Posts |
|
|
|
|
|
|
#1451 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#1452 | |
|
Aug 2006
3×1,993 Posts |
Quote:
Code:
@echo off REM ************************************************ REM * Put this in a file called pari.bat * REM * Change F:\ to your portable's drive letter * REM * Change C:\Program... as needed * REM ************************************************ set TEMP=F:\tmp cd "C:\Program Files\PARI" gp |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |