# Known Bugs

Much of the Squiggle math is imprecise. This can cause significant errors, so watch out.

Below are a few specific examples to watch for. We'll work on improving these over time and adding much better warnings and error management.

## Operations on very small or large numbers, silently round to 0 and 1โ

Squiggle is poor at dealing with very small or large numbers, given fundamental limitations of floating point precision. See this Github Issue.

## Mixtures of distributions with very different meansโ

If you take the pointwise mixture of two distributions with very different means, then the value of that gets fairly warped.

In the following case, the mean of the mixture should be equal to the sum of the means of the parts. These are shown as the first two displayed variables. These variables diverge as the underlying distributions change.

Result:
0:
1ยท1018
1:
50B
2:
Distribution plot

## Means of Sample Set Distributionsโ

The means of sample set distributions can vary dramatically, especially as the numbers get high.

Result:
0:
2.61B
1:
1.63B
2:
Distribution plot
3:
Distribution plot