Re: [Mingw-w64-public] [Mingw-users] Math library discrepancies that surprised me.

2011-05-01 Thread James K Beard
when the FP number is interpreted as an integer, is largely lost, so I think that's best left to the implementer. And, when an FPU is not present, this is where quad precision must live, so why not put it in the gcc plan and documentation that way? James K Beard -Original Message---

Re: [Mingw-w64-public] [Mingw-users] Math library discrepancies that surprised me.

2011-05-01 Thread James K Beard
volunteers, whose time might be better spent fleshing out the C++ feature set to catch up with the standard, etc. Think the Pareto Principle. Climbing the curve too far past the knee... James K Beard -Original Message- From: JonY [mailto:jo...@users.sourceforge.net] Sent: Sunday, May 01

Re: [Mingw-w64-public] [Mingw-users] Math library discrepancies that surprised me.

2011-04-30 Thread James K Beard
her common workstation processors. Yet we are looking at software transcendental function libraries. James K Beard -Original Message- From: Greg Chicares [mailto:gchica...@sbcglobal.net] Sent: Friday, April 29, 2011 7:38 PM To: MinGW Users List Cc: mingw64 Subject: Re: [Mingw-w64-public] [Mingw-u

Re: [Mingw-w64-public] [Mingw-users] Math library discrepancies that surprised me.

2011-04-29 Thread James K Beard
ntissa accuracy. The Newton's method will get you within a count or two on the LSB, and with any guard bits at all will get you full mantissa accuracy every time. Why? K digits/bits/whatever in X define about 2K digits/bits/whatever in sqrt(x), while this isn't true for log(*) and exp(*)

Re: [Mingw-w64-public] Math library discrepancies that surprised me.

2011-04-29 Thread James K Beard
esult_old^2)/(2*result_old) which some of little faith use because the second term can be tested for zero - or near zero. Don't go there. In any case this non-reduced form is less accurate. All this works for complex numbers, too. Watch out for the sign convention for complex numbers, th

Re: [Mingw-w64-public] building mingw-w64-crt/headers with Cmake

2011-04-22 Thread James K Beard
http://technet.microsoft.com/en-us/library/dd347701.aspx James K Beard From: Ruben Van Boxem [mailto:vanboxem.ru...@gmail.com] Sent: Friday, April 22, 2011 4:05 AM To: JonY Cc: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] building mingw-w64-crt/headers

Re: [Mingw-w64-public] 64bit (g)fortran JNI

2011-04-22 Thread James K Beard
st SPs and both with the latest Windows Update patches. The principal difference between Vista and 7 is in the user interface. James K Beard -Original Message- From: Hans Horn [mailto:han...@2horns.com] Sent: Thursday, April 21, 2011 5:18 PM To: mingw-w64-public@lists.sourceforge.net S

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
erhaps GNU participation can still help in the near term. For one thing, if the LLVM/Clang construct all hangs together, perhaps all of it could be made a subset of the new C++/0x. Better hurry though - the new standard was expected "in the summer of 2011" as recently as last year. James K Beard -

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
the ISO/IEC JTC1/SC22/WG21. After all, in point of fact, gcc users probably outnumber users of commercial compilers, and all that experience could help the standards committees. James K Beard From: Ruben Van Boxem [mailto:vanboxem.ru...@gmail.com] Sent: Sunday, April 10, 2011 2:34 PM To

Re: [Mingw-w64-public] projects using MinGW64

2011-04-10 Thread James K Beard
There you go! James K Beard -Original Message- From: Jason [mailto:ja...@njkfrudils.plus.com] Sent: Sunday, April 10, 2011 1:47 PM To: mingw-w64-public@lists.sourceforge.net Subject: [Mingw-w64-public] projects using MinGW64 Hi MPIR a fork of GMP now fully runs under MinGW64 see http

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
hm. If I really needed to distance myself form the NR license I would do that. It's not rocket science and it's not that hard. But, it's long, and I haven't needed to do that. James K Beard -Original Message- From: K. Frank [mailto:kfrank2...@gmail.com] Sent: Sunday, Ap

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
ither an overflow or another FP quantity, possibly un-normalized, that is greater arithmetically; this allows integer quantity comparisons to work with floating point. James K Beard -Original Message- From: Kai Tietz [mailto:ktiet...@googlemail.com] Sent: Sunday, April 10, 2011 9:29 AM To:

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
and used inline in C code for quad precision packages. In other words, a quad precision package is not rocket science because the basis for it is built into the instruction sets and you don't really need to leverage an existing package. James K Beard -Original Message- From: Kai

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
be careful about using C++ as the compiler language for two reasons, the higher cost of maintenance of C++ code and the fact that it’s not at all obvious what C++ brings to the table for compiler code. James K Beard From: Ruben Van Boxem [mailto:vanboxem.ru...@gmail.com] Sent: Sunday

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-10 Thread James K Beard
is useful for precisions higher than 128 bits. I typically use it for 256 bits and higher. James K Beard -Original Message- From: Kai Tietz [mailto:ktiet...@googlemail.com] Sent: Sunday, April 10, 2011 2:48 AM To: jkbea...@verizon.net; mingw-w64-public@lists.sourceforge.net Cc: James K

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-09 Thread James K Beard
That epsilon will fit in quad precision. James K Beard -Original Message- From: Jon [mailto:10wa...@gmail.com] On Behalf Of JonY Sent: Saturday, April 09, 2011 9:07 PM To: jkbea...@verizon.net; mingw-w64-public@lists.sourceforge.net Cc: James K Beard Subject: Re: [Mingw-w64-public

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-09 Thread James K Beard
d a couple of others like the log gamma function. All of that is mine and free for me to release in any license. James K Beard -Original Message- From: Jon [mailto:10wa...@gmail.com] On Behalf Of JonY Sent: Saturday, April 09, 2011 9:07 PM To: jkbea...@verizon.net; mingw-w64-public@list

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-09 Thread James K Beard
fixed point, which can be held in 64-bit integers. I see no need for decimal floating point anywhere in the COBOL world. James K Beard -Original Message- From: dashesy [mailto:dash...@gmail.com] Sent: Saturday, April 09, 2011 4:36 PM To: mingw-w64-public@lists.sourceforge.net Subject: Re

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-09 Thread James K Beard
king about releasing it under the GPL but there is a lot of code cleanup needed, and some core modules are from Numerical Recipes for Fortran 90 and will require another license that I haven't pursued. James K Beard -Original Message- From: JonY [mailto:jo...@users.sourceforge.net]

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-09 Thread James K Beard
cimal arithmetic gets any market share at all in the COBOL community, then, hey, competition is a good thing, maybe COBOL will improve as a result, C++ decimal classes will improve too, and the users win. And, a lot of people other than COBOL environments will benefit from decimal arithmetic classes

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-03 Thread James K Beard
such so a careful, maintainable set of algorithms that deal simply and robustly with external decimal arithmetic formats is probably best for those in a first generation library. James K Beard -Original Message- From: Jon [mailto:10wa...@gmail.com] On Behalf Of JonY Sent: Sunday, April 03

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-04-03 Thread James K Beard
. The JTC1 Committee is apparently considering putting it in the standard. This could be a very good thing for people porting code from COBOL, and useful for new applications in environments previously restricted to COBOL such as the banking and accounting industries. James K Beard From

Re: [Mingw-w64-public] sezero 4.5.2 1002 note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without

2011-03-27 Thread James K Beard
ction becomes control, with most or all processing moved out to called procedures or modules. From your short description of the code, one possibility is breaking out each set of switches as a separate module. James K Beard From: Jim Michaels [mailto:jmich...@yahoo.com] Sent: Monday, March 28, 2

Re: [Mingw-w64-public] Where's make (specifically, x86_64-w64-mingw32-make.exe)?

2011-03-26 Thread James K Beard
I think that the Microsoft Visual Studios all come with make, even the free ones. It's not with the OS but it's there in even the most casual developer because it's hard to develop for Windows and not find that you have one version of MVS or another. James K Beard -O

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-03-26 Thread James K Beard
what someone wants, but you will never make a decisive case for such a library in the context of numerical analysis and computer science. James K Beard From: Jim Michaels [mailto:jmich...@yahoo.com] Sent: Friday, March 25, 2011 4:16 PM To: mingw-w64-public@lists.sourceforge.net Subject:

Re: [Mingw-w64-public] Where's make (specifically, x86_64-w64-mingw32-make.exe)?

2011-03-26 Thread James K Beard
6 and x86_64. James K Beard -Original Message- From: Ruben Van Boxem [mailto:vanboxem.ru...@gmail.com] Sent: Friday, March 25, 2011 5:41 PM To: Jim Michaels; mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] Where's make (specifically, x86_64-w64-mingw32-make.e

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-03-23 Thread James K Beard
It may not be as bad as you might think because trigonometric functions become invalid for arguments with magnitude defined by the mantissa length, not the exponent, and the exponent is removed as part of the process in log and exponentiation operations. James K Beard -Original Message

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-03-23 Thread James K Beard
ffort needed to write and test these libraries. James K Beard -Original Message- From: K. Frank [mailto:kfrank2...@gmail.com] Sent: Wednesday, March 23, 2011 2:49 PM To: mingw64 Subject: Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math Hi Jon and James! On Wed, Mar 23, 2

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-03-23 Thread James K Beard
ws at about 10^(308). Single precision uses an 10-bit mantissa and overflows at about 10^(38). James K Beard -Original Message- From: Kai Tietz [mailto:ktiet...@googlemail.com] Sent: Wednesday, March 23, 2011 2:29 PM To: jkbea...@verizon.net; mingw-w64-public@lists.sourceforge.net Cc: Ja

Re: [Mingw-w64-public] mingw-w64 Decimal Floating Point math

2011-03-23 Thread James K Beard
areas such as determinants, series and large polynomials) to begin with. James K Beard -Original Message- From: Jon [mailto:10wa...@gmail.com] On Behalf Of JonY Sent: Wednesday, March 23, 2011 12:45 PM To: mingw-w64-public@lists.sourceforge.net Cc: jkbea...@verizon.net Subject: Re: ming

Re: [Mingw-w64-public] missing long double format in printf

2011-03-23 Thread James K Beard
For broadest compatibility I suggest C99 standard, #include and ull or ll as the Plan A, and if your compiler doesn't work with that humor it with an ifdef. The C99 standard works for me for the Linux hosted cross-compilers. James K Beard From: Jim Michaels [mailto:jmich...@yaho

Re: [Mingw-w64-public] Installing and Using W32 adn W64 Cross-Compilers under Unix is On the Wiki

2011-03-11 Thread James K Beard
e I download a later build, and if the permissions problem has gone away I'll simplify the wiki page. Thanks for the comments, and the heads-up about the permissions change. James K Beard -Original Message- From: Jon [mailto:10wa...@gmail.com] On Behalf Of JonY Sent: Friday, March 1

[Mingw-w64-public] Installing and Using W32 adn W64 Cross-Compilers under Unix is On the Wiki

2011-03-11 Thread James K Beard
I've put up a Wiki page on how I used downloads of the binaries for both the 1.0 daily builds and the bleeding edge daily builds to successfully generate Windows 32-bit and 64-bit binaries: https://sourceforge.net/apps/trac/mingw-w64/wiki/UsingLinuxBinaries Feedback or edits are welcome.

Re: [Mingw-w64-public] i64 constants for microsoft code compatibility

2010-10-10 Thread James K Beard
C compilers; any one of them will fix your problem, except Microsoft. James K Beard -Original Message- From: NightStrike [mailto:nightstr...@gmail.com] Sent: Saturday, October 09, 2010 10:44 PM To: Kai Tietz; Jim Michaels Cc: mingw64 Subject: Re: [Mingw-w64-public] i64 constants for

Re: [Mingw-w64-public] LP64 convention ?

2010-05-06 Thread James K Beard
bitinteger Integer(i4B)::thisisa32bitinteger Etc. James K Beard -Original Message- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: Thursday, May 06, 2010 2:34 AM To: AA Cc: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] LP64 convention ? On Thu, 6 Ma

Re: [Mingw-w64-public] Need help debugging...

2010-03-15 Thread James K Beard
David: Look at the assembly code for a little "Hello World" program and copy that code into your assembly code to call printf from assembly. James K Beard -Original Message- From: David Cleaver [mailto:wrai...@morpheus.net] Sent: Monday, March 15, 2010 12:35 AM To: mingw

Re: [Mingw-w64-public] problems with dllimport / dllexport

2009-12-29 Thread James K Beard
NightStrike, Mook: Let me know if Cliff needs a logon for the SSH server. James K Beard -Original Message- From: NightStrike [mailto:nightstr...@gmail.com] Sent: Tuesday, December 29, 2009 11:26 AM To: Chris Sutcliffe Cc: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64