From 8e25b30209e951bcabfc2d1cd97ef0b971554648 Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Thu, 17 May 2018 09:45:42 +0200 Subject: [PATCH] fix highest signed int comment --- stint/private/int_highlow.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stint/private/int_highlow.nim b/stint/private/int_highlow.nim index f18156f..6b71a1c 100644 --- a/stint/private/int_highlow.nim +++ b/stint/private/int_highlow.nim @@ -11,7 +11,7 @@ import ./datatypes, ./uint_bitwise_ops, ./int_bitwise_ops, ./initialization func high*[T](_: typedesc[IntImpl[T]]): IntImpl[T] {.inline.}= - # The lowest signed int has representation + # The highest signed int has representation # 0b0111_1111_1111_1111 .... # so we only have to unset the most significant bit. let only_msb_unset = UintImpl[T].zero.not shr 1