# Calculation of remainder, floating point issues

**URL:** <https://discourse.julialang.org/t/calculation-of-remainder-floating-point-issues/103338>\
**Category:** General Usage\
**Created:** [August 29, 2023, 6:20pm UTC](https://discourse.julialang.org/t/calculation-of-remainder-floating-point-issues/103338 "2023-08-29T18:20:56Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [August 29, 2023, 8:13pm UTC](https://discourse.julialang.org/t/calculation-of-remainder-floating-point-issues/103338/8 "2023-08-29T20:13:16Z")

</div>

> [@lwhitefox](#):
>
> It would be useful to include a 1-line example like this in the docs just to help make clear what the implications of “exact” might be

Sure, but realize also that this is not specific to Julia. The same floating-point standard is followed by essentially all modern languages, and there is lots of learning material online about this (including in Julia).

(Whether `big` prints all of the digits, i.e. an exact decimal representation, depends on the current precision setting, since `BigFloat` is variable precision. I don’t remember off the top of my head if there is a function that always prints the exact decimal representation of a floating-point value, regardless of the precision and regardless of how many decimal digits are required?)

---

_[View the full topic](https://discourse.julialang.org/t/calculation-of-remainder-floating-point-issues/103338)._
