Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 4422ad5

Browse files
authored
Add note: SignedLittleEndian uses two's complement (#544)
Fixes #467.
1 parent daa7e59 commit 4422ad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Numerics/src/Integer/Types.qs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
namespace Microsoft.Quantum.Arithmetic {
55
/// # Summary
66
/// Type of a signed integer stored in little endian (see LittleEndian).
7+
/// Negative numbers are stored using two's complement.
78
newtype SignedLittleEndian = LittleEndian;
8-
}
9+
}

0 commit comments

Comments
 (0)