Skip to content

Commit

Permalink
Add precision disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlowryduda committed May 24, 2024
1 parent ac12915 commit 42f074b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lmfdb/maass_forms/templates/maass_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ <h2>{{ KNOWL('mf.maass.mwf', 'Maass form') }} invariants</h2>
</table>

<h2>Maass form {{KNOWL('mf.maass.mwf.coefficients','coefficients')}}</h2>

<p>
The coefficients here are shown to at most $8$ digits of precision.
Full precision coefficients are available in the downloads.
</p>


{{ mf.coefficient_table(20, 3) | safe }}

{% endblock content %}
4 changes: 3 additions & 1 deletion lmfdb/maass_forms/web_maassform.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ def coeff_error_notation(coeff, error, pm=False):
errorpart = ""
else:
base, negexponent = mantissa_and_exponent(error)
negexponent = min(negexponent, 8)
if negexponent > 8:
negexponent = 8
base = 1
errorpart = r" \pm " + exponential_form(base, negexponent, digits_to_show=3)
return coeffpart + errorpart

Expand Down

0 comments on commit 42f074b

Please sign in to comment.