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:
Sebastian Bazley 2012-03-03 00:35:47 +00:00
parent 7c8e4913a5
commit e40ed5d28a
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ public class DfpField implements Field<Dfp> {
/** High precision string representation of &radic;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 &radic;2 / 2. */
private static String sqr2ReciprocalString;