Reports calls to BigDecimal constructors which accept a double value. These constructors produce a BigDecimal which is exactly equal to the supplied double value. However, as doubles are encoded in IEEE 754 64-bit double-precision binary floating-point format, the exact value could be unexpected.

For example new BigDecimal(0.1) yields a BigDecimal whose value is 0.1000000000000000055511151231257827021181583404541015625, which is the nearest number to 0.1 representable as a double. To get a BigDecimal which stores the same value as written in the source code, use either new BigDecimal("0.1") or BigDecimal.valueOf(0.1).