# A subtle bug?

**URL:** <https://discourse.julialang.org/t/a-subtle-bug/61725>\
**Category:** General Usage\
**Tags:** glm, fast-math\
**Created:** [May 24, 2021, 3:27pm UTC](https://discourse.julialang.org/t/a-subtle-bug/61725 "2021-05-24T15:27:46Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [May 25, 2021, 1:43pm UTC](https://discourse.julialang.org/t/a-subtle-bug/61725/23 "2021-05-25T13:43:37Z")

</div>

> [@tomtom](#):
>
> how could I detect if the current session is `--math-mode=fast` or not? thanks.

You can look at `Base.JLOptions().fast_math`.

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [May 25, 2021, 1:45pm UTC](https://discourse.julialang.org/t/a-subtle-bug/61725/24 "2021-05-25T13:45:59Z")

</div>

thanks.

[Previous page](https://discourse.julialang.org/t/a-subtle-bug/61725.md?page=1)
