Re: Floating point exception in strtod()

2018-04-07 Thread Duncan Roe
On Sat, Apr 07, 2018 at 04:56:13PM -0400, Eliot Moss wrote: > On 4/7/2018 1:40 PM, Ken Brown wrote: > > $ cat strtod_test.c > > #include > > #include > > #include > > > > int > > main () > > { > >   /* The following number comes from /usr/share/asymptote/ode.asy.  */ > >   const char *str =

Re: cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7

2018-04-07 Thread Andrey Repin
Greetings, Allan Fernandes! > I am using cygwin1.dll (windows 7) and running a batch file (Abc.Bat) code > given below with observation messages. > Problem: > cygwin1.dll (ver 1.7)+Rdiff.exe handles Unicode but does not handle UNC > paths. > cygwin1.dll (ver 2.10)+Rdiff.exe does not handle

Re: Floating point exception in strtod()

2018-04-07 Thread Eliot Moss
On 4/7/2018 1:40 PM, Ken Brown wrote: $ cat strtod_test.c #include #include #include int main () {   /* The following number comes from /usr/share/asymptote/ode.asy.  */   const char *str = "121645100408832000.0";   char *ptr;   feenableexcept (FE_INVALID);   strtod (str, );   /* If

Re: Floating point exception in strtod()

2018-04-07 Thread Dan Kegel
Is that 19! ? Probably doesn't fit precisely into a double. Does strtold behave better? Some implementations throw on unrepresentable numbers, e.g. https://docs.oracle.com/cd/E19253-01/816-5168/6mbb3hrte/index.html Ken Brown schrieb am Sa., 7. Apr. 2018, 10:40: > $ cat

Re: perl_base

2018-04-07 Thread Ken Brown
On 4/7/2018 2:53 PM, Achim Gratz wrote: The first maintenance release for Perl 5.26 is coming up. The original idea of splitting the perl package up into perl_base and perl (like most GNU/Linux distros do) was to have a more lightweight package that satisfies most dependencies and could

perl_base

2018-04-07 Thread Achim Gratz
The first maintenance release for Perl 5.26 is coming up. The original idea of splitting the perl package up into perl_base and perl (like most GNU/Linux distros do) was to have a more lightweight package that satisfies most dependencies and could eventually be made a mandatory part of the

Floating point exception in strtod()

2018-04-07 Thread Ken Brown
$ cat strtod_test.c #include #include #include int main () { /* The following number comes from /usr/share/asymptote/ode.asy. */ const char *str = "121645100408832000.0"; char *ptr; feenableexcept (FE_INVALID); strtod (str, ); /* If there was an exception, the following will

cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7

2018-04-07 Thread Allan Fernandes
Hi, I am using cygwin1.dll (windows 7) and running a batch file (Abc.Bat) code given below with observation messages. Problem: cygwin1.dll (ver 1.7)+Rdiff.exe handles Unicode but does not handle UNC paths. cygwin1.dll (ver 2.10)+Rdiff.exe does not handle Unicode but handles UNC paths. No