To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.
Project commons-collections4 has an issue affecting its community integration.
Thi
the use volatiles : waiting,complete,totalBorrowTime, totalReturnTime,
nrSamples
is not correct.
for ex the following totalBorrowTime += borrowTime is not atomic resulting in a
race condition.
one way to fix this is using the java.util.concurent Atomic variants or even
better,
make these var
Never mind - didn't see the commit.
Den 20/01/2011 02.34 skrev "Mikkel Meyer Andersen" :
> Okay, cheers. Shouldn't the javadoc reflect the +/-0 or is that implicit?
> Den 20/01/2011 02.21 skrev "sebb" :
>> On 20 January 2011 01:16, Mikkel Meyer Andersen wrote:
>>> Hi,
>>>
>>> Just a quick question
Okay, cheers. Shouldn't the javadoc reflect the +/-0 or is that implicit?
Den 20/01/2011 02.21 skrev "sebb" :
> On 20 January 2011 01:16, Mikkel Meyer Andersen wrote:
>> Hi,
>>
>> Just a quick question: when a == 0.0f or NA, then a is returned. Why not
>> just put a special isNA() in the beginning
On 20 January 2011 01:16, Mikkel Meyer Andersen wrote:
> Hi,
>
> Just a quick question: when a == 0.0f or NA, then a is returned. Why not
> just put a special isNA() in the beginning and 0.0f in the existing code?
Because we want to return -0.0 if a == -0.0 and +0.0 if a == +0.0
> Wouldn't it sa
Hi,
Just a quick question: when a == 0.0f or NA, then a is returned. Why not
just put a special isNA() in the beginning and 0.0f in the existing code?
Wouldn't it save a tiny bit not loading a?
Cheers, Mikkel.
Den 19/01/2011 20.26 skrev :
> Author: sebb
> Date: Wed Jan 19 19:26:19 2011
> New Revi
> -Original Message-
> From: Dennis Lundberg [mailto:denn...@apache.org]
> Sent: Wednesday, January 19, 2011 16:27
> To: Commons Developers List
> Subject: Re: [commons-parent] Using maven-site-plugin 2.x with Maven 2.x
> and maven-site-plugin 3.x with Maven 3.x
>
> On 2011-01-19 16:06, Ga
On 2011-01-19 16:06, Gary Gregory wrote:
> Hi All:
>
> I'd like to get Maven 3 working with various projects and [codec] today.
>
> To get Maven 3 to work, I'd like to add the following profile to the
> commons-parent POM.
>
> See http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/mav
+1 for me Gary, you've full support from my side on this.
All the best,
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Wed, Jan 19, 2011 at 4:06 PM, Gary Gregory
wrote:
> Hi All:
>
> I'd like to get Maven 3 working with various projects and [codec] today.
>
> To get Ma
On 19 January 2011 18:28, Ted Dunning wrote:
> No. Indeed not. And if it calls floor then it isn't likely to give the
> desired -0 result.
>
> How important is it to return -0 instead of +0 anyway?
It can mess up comparisons of Doubles:
public static void main(String z[]){
Double n
No. Indeed not. And if it calls floor then it isn't likely to give the
desired -0 result.
How important is it to return -0 instead of +0 anyway?
On Wed, Jan 19, 2011 at 10:17 AM, sebb wrote:
> On 19 January 2011 16:25, Ted Dunning wrote:
> > Slightly slower,
>
> Unfortunately, I suspect it i
On 19 January 2011 16:25, Ted Dunning wrote:
> Slightly slower,
Unfortunately, I suspect it is about twice as slow for this case,
because FastMath.ceil() actually calls FastMath.floor().
Not ideal for FastMath !
>
> double y = floor(x):
> double d = x - y;
> if (d > 0.5) {
> re
Slightly slower,
double y = floor(x):
double d = x - y;
if (d > 0.5) {
return ceil(x);
} else {
return y;
}
but it gives your desired result with little (visible) special casing.
On Wed, Jan 19, 2011 at 8:04 AM, sebb wrote:
> FastMath.rint(x) has the follo
FastMath.rint(x) has the following code:
double y = floor(x);
double d = x - y;
if (d > 0.5) {
return y+1.0; // round up
}
...
For -0.5 < x < 0 the rounding up generates +0.0 - rather than -0.0,
as expected by the sign of the input parameter.
Is the
On Wed, Jan 19, 2011 at 3:09 PM, Jacob Zwiers
wrote:
> I'll echo that.
>
> I had put a query to the user's list a last week asking a similar question.
>
> I understand that the committers are working on JSR-303 and validator2
> releases.
>
> However, I suspect we're not the only ones looking to g
I'll echo that.
I had put a query to the user's list a last week asking a similar question.
I understand that the committers are working on JSR-303 and validator2 releases.
However, I suspect we're not the only ones looking to get get off Jakarta-ORO
sooner than later.
Is there an interest amo
Hi All:
I'd like to get Maven 3 working with various projects and [codec] today.
To get Maven 3 to work, I'd like to add the following profile to the
commons-parent POM.
See http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
Any objections or thoughts?
Thank you,
Gary
Hi.
We'd be very interested in
http://commons.apache.org/validator/apidocs/org/apache/commons/validator/routines/checkdigit/LuhnCheckDigit.html-
could 1.4 be released?
It's been quite a while since the last 1.3.1 relase
--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.
Project commons-proxy-test has an issue affecting its community integration.
This
To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.
Project commons-jelly-tags-quartz has an issue affecting its community
integratio
To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.
Project commons-scxml-test has an issue affecting its community integration.
This
21 matches
Mail list logo