# ExactConversions

Documentation for ExactConversions.jl.

`ExactConversions.exactconv`

โ Function```
exactconv(I, x::F) :: Union{I,Nothing}
exactconv(F, x::I) :: Union{F,Nothing}
```

Convert between integer and floating-point types. The conversion suceeds only if it does not change the numeric value, otherwise it returns `nothing`

.

`ExactConversions.maxcommon`

โ Function```
maxcommon(I, F) :: I
maxcommon(F, I) :: F
```

Return the largest number that is representable by both the integral type `I`

and the floating-point type `F`

. The type of the result depends on the order of the arguments.

`ExactConversions.mincommon`

โ Function```
mincommon(I, F) :: I
mincommon(F, I) :: F
```

Return the smallest number that is representable by both the integral type `I`

and the floating-point type `F`

. The type of the result depends on the order of the arguments.