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.
You can see an updated list of known language bugs here (opens in a new tab).
Squiggle is poor at dealing with very small or large numbers, given fundamental limitations of floating point precision. See this Github Issue (opens in a new tab).
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.
The means of sample set distributions can vary dramatically, especially as the numbers get high.