Skip to content

Bug in Phi(x) for x < -8.5 or so #376

@ksvanhorn

Description

@ksvanhorn

[This is for Stan 2.0.1] I have found that Phi(x) rounds down to 0 for x < -8.5 or so. Specifically, Phi(-8) does NOT round to zero, but Phi(x) for every x <= -8.52352 I have tried has rounded to zero. For sufficiently negative x this is unavoidable, but the correct value for Phi(x) is representable as a nonzero double all the way down to x = -37.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions