Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Dec 4, 2024
1 parent 1cb2c20 commit d223d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/private/schubfach.nim
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ proc constructSingle(bits: BitsType): Single =
result = Single(bits: bits)

proc constructSingle(value: ValueType): Single =
result = Single(bits:cast[typeof(result.bits)](value))
result = Single(bits: cast[typeof(result.bits)](value))

proc physicalSignificand(this: Single): BitsType {.noSideEffect.} =
return this.bits and significandMask
Expand Down

0 comments on commit d223d7a

Please sign in to comment.