# Big Float epsilon always the same independant of precision?

**URL:** https://discourse.julialang.org/t/big-float-epsilon-always-the-same-independant-of-precision/125295
**Category:** General Usage
**Tags:** question
**Created:** [January 28, 2025, 11:02am UTC](https://discourse.julialang.org/t/big-float-epsilon-always-the-same-independant-of-precision/125295 "2025-01-28T11:02:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Fourier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fourier/32/38176_2.png) [@Fourier](https://discourse.julialang.org/u/Fourier)
#### Post date: [January 28, 2025, 11:02am UTC](https://discourse.julialang.org/t/big-float-epsilon-always-the-same-independant-of-precision/125295/1 "2025-01-28T11:02:58Z")

</div>

When I allocate a big float, I can set the precison as a keyword argument, like so:

`eps(BigFloat(1.0, precision=10))`

However I always seem to get the same floating point epsilon for some reason, no matter the precision I set:

```julia
julia> eps(BigFloat(1.0, precision=64))
1.727233711018888925077270372560079914223200072887256277004740694033718360632485e-77

julia> eps(BigFloat(1.0, precision=128))
1.727233711018888925077270372560079914223200072887256277004740694033718360632485e-77

julia> eps(BigFloat(1.0, precision=256))
1.727233711018888925077270372560079914223200072887256277004740694033718360632485e-77

```

I would like to understand what the precision argument actually means, but it seems like its even less clear now. Can someone tell me what is going on? How large is the floating point error when I set it to a certain precision?

EDIT:  
Never mind, this seems to work fine:

```julia
julia> setprecision(1); eps(BigFloat(1.0))
1.0

julia> setprecision(2); eps(BigFloat(1.0))
0.5

julia> setprecision(3); eps(BigFloat(1.0))
0.25

julia> setprecision(4); eps(BigFloat(1.0))
0.125

```

I dont know what the precision keyword is supposed to do, but I think that it doesnt work.
