@@ -33,19 +33,20 @@ However, observed behavior can be different from the exact arithmetic.
3333Stan’s arithmetic is implemented using double-precision
3434floating-point numbers, which may cause computation to behave
3535differently than mathematics. For example, the lower bound constraint
36- is defined with a logarithm constraint which mathematically excludes
36+ is defined above by an exponential inverse transform which mathematically excludes
3737the lower bound, but if the closest floating-point number for the
3838inverse transformed value is the boundary, then the value is
3939rounded to the boundary. This may cause unexpected warnings or
4040errors, if in other parts of the code the boundary value is
4141invalid. For example, we may observe floating-point value 0 for
42- a variance parameter that has been declared to be larger than 0 .
42+ a variance parameter that has been declared with ` lower=0 ` .
4343In general, double-precision floating-point numbers cannot reliably store
4444more than 16 digits of a number in decimal.
45- See more about [ Floating point Arithmetic in Stan user's guide] ( ../stan-users-guide/floating-point.qmd ) .
45+ See more about [ floating point arithmetic] ( ../stan-users-guide/floating-point.qmd )
46+ in the * Stan User's Guide* .
4647
47- These issues can be exacerbated by the fact that CmdStan stores the output to
48- CSV files with 8 digits accuracy by default. More digits can be requested by the user
48+ These issues are exacerbated by the fact that CmdStan stores the output to
49+ CSV files with 8 digits precision by default. More digits can be requested by the user
4950at the cost of additional disk usage, as discussed in the
5051[ CmdStan Command-Line Interface Overview] ( ../cmdstan-guide/command_line_options.qmd ) .
5152
0 commit comments