Jacques Gélinas on Tue, 01 Nov 2016 15:38:36 +0100


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

Windows gp64 writebin creates unreadable file for \p174


1. On my laptop running Windows 8.1-64 and Pari 2.7-64 or 2.8-64,
binary files become unreadable if reals use 10 words or more.

                    GP/PARI CALCULATOR Version 2.8.1 (beta)
          amd64 running mingw (x86-64/GMP-6.0.0 kernel) 64-bit version

\\---------------------------------------start copy

default(secure,0)

\p173
\\   realprecision = 173 significant digits
#1.
\\ 9
writebin("173-lg2",log(2));log(2)==read("173-lg2")
\\ 1

\p174
\\   realprecision = 192 significant digits (174 digits displayed)
#1.
\\ 10
writebin("174-7",1/7.);1/7.==read("174-7")
\\ 1
writebin("174-lg2",log(2));log(2)==read("174-lg2")
\\  ***   at top-level: ...174-lg2",log(2));log(2)==read("174-lg2")
\\  ***                                             ^---------------
\\  *** read: error opening input file [fread]: `FILE*'.

\\---------------------------------------end paste


2. Possible addition: a "writedir" default to specify where
the write, writebin, psplot output files go.

Thanks,
Jacques Gélinas