2.2 is released! This, as you may be able to tell from the larger version bump, includes some spiffy new features. Perhaps the most nifty for GUI users will be...
I wanted the remainder of a division with big numbers, this is what I've done: $ time wcalc "2^56 - floor(2^56 / 57)*57" = 4 real 0m0.004s user 0m0.001s ...
Daniele
scrows@...
Jun 28, 2006 10:15 am
51
... Heh, right. Counting up to 2^56 in 57-steps might take a while. ;-) ... Sure. Patch attached. Cheers, Ingo...
... Hmm. What is currently in CVS is this: mpfr_set_ui(temp, 0, GMP_RNDN); mpfr_div(temp, first, second, GMP_RNDN); mpfr_rint(temp, temp, GMP_RNDZ); ...
... What's the first line good for? ... -20 is not an option. The question is: When performing the integer division of -340 and 60, do you round the result by...
... Hmm, not much, come to think of it. ... Hmm, well, I tend to like not being restrictive, and I also like maintaining the existing behavior. In Wcalc 1.x,...
... Actually, if I'm reading the ADA reference manual correctly, the REM operator does exactly what your algorithm does (A REM B keeps the sign of A) while the...
... Well, I'm not saying I'm in love with ADA, I'm just suggesting we preserve the existing behavior for % and do a better/different one with a new operator...
... Well, rounding output towards zero would pick floor() or ceil() depending on the sign of output. I'm checking the sign of the first operand instead. So, if...
Perhaps I found another bug in the mod operator, I don't know if the result change with the last modifies to the way the mod works, so .. For `m % n' where `m'...
Daniele
scrows@...
Jul 5, 2006 3:35 pm
59
... Nope, that's wrong. Looks like I need to get this fixed version out asap. ~Kyle -- It is easier to be critical than to be correct. -- Benjamin Disraeli...
Hello everyone! 2.2.2 is released! This is primarily a bugfix release. Most notably, the mod operator (%) is both efficient and correct now (yeesh, that was...
The offending sender has been banned, and the spam removed from the message archive. ~Kyle -- If man was meant to be nude, he would have been born that way. --...
hello -> (-27)^(1/3) = Not a Number -> -(27)^(1/3) = -3 -> cbrt (-27) = -3 it seems the first evaluation isn't correct. I use wcalc version 2.2.2. Cheers, ...
Daniele
scrows@...
Mar 29, 2007 8:36 am
65
... Huh. That's pretty strange. What appears to be happening is that we're tripping over an oddity in the mpfr number library. Check here: ...
hi, I'm reporting a strange result of a simple expression: -> 23.05-14.5-8.55 = 0 -> 23.05 = 23.05 -> a = 23.05 -> a-14.5-8.55 = -1E-09 the last line should...
Daniele
scrows@...
Apr 14, 2007 1:23 pm
92
... Hmmm, that *is* a strange result. I'm looking into it... ~Kyle -- Where justice is denied, where poverty is enforced, where ignorance prevails, and where...
... I finally got around to finding and fixing this. For posterity's sake, it was a case of not using enough precision when translating variables into strings...
Hello everyone! I just released Wcalc 2.3, as promised. This has plenty of bugfixes (some of which were discussed on this list), and a couple new features that...
Hi, just a note that could be easly fixed for the next release, right now it isn't a problem because I fixed it in the debian package I'm building:...
Daniele
scrows@...
Jul 23, 2007 2:22 pm
99
... Eh? I didn't think I left anything like that in there. I just downloaded the 2.3 tarball, to check, and here's what I get: $ find . -name config.cache $...
Hey all, Softpaedia.com just posted an in-depth review of Wcalc! http://www.softpedia.com/reviews/mac/Wcalc-Review-60719.shtml Here's the long and short of it:...
Uhm, I tought I sent you a private mail. Anyway, I was wrong, maybe I've done some wierd mistakes while building it .. now everything works well, the .tar is...
Daniele
scrows@...
Jul 24, 2007 4:38 pm
102
Hi, when wcalc starts and I type twice \eng it crashes: Enter an expression to evaluate, q to quit, or ? for help: -> \eng Engineering notation is enabled = 0 ...
Daniele
scrows@...
Feb 4, 2008 8:48 am
103
more on \eng: Enter an expression to evaluate, q to quit, or ? for help: -> 10^-2.63 = 0.00234423 -> \e Engineering notation is enabled = 0.00234423 ->...
Daniele
scrows@...
Feb 4, 2008 9:08 am
104
... Ahh, I see the error. Attached is the patch to fix it. I've committed the fix to CVS, and also added a few more bits to be a little more careful in other...
... The previous fix I posted fixes the toggle between enabled and disabled. As for converting to engineering notation, it does not (currently) do anything...
... I agree, I think this would be nice. Cheers, Daniele...
Daniele
scrows@...
Feb 5, 2008 8:10 pm
107
... Committed to CVS. The logic for some of the output formatting gets kinda convoluted, so if someone could test it for me (it seems to work right to me),...