DOcument thread-safety of "mutable" static fields (actually write-once)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296529 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7c8e4913a5
commit
e40ed5d28a
|
@ -75,6 +75,8 @@ public class DfpField implements Field<Dfp> {
|
|||
/** High precision string representation of √2. */
|
||||
private static String sqr2String;
|
||||
|
||||
// Note: the static strings are set up (once) by the ctor and @GuardedBy("DfpField.class")
|
||||
|
||||
/** High precision string representation of √2 / 2. */
|
||||
private static String sqr2ReciprocalString;
|
||||
|
||||
|
|
Loading…
Reference in New Issue