Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c260bc58
Commit
c260bc58
authored
Jan 12, 2014
by
Paul Sokolovsky
Browse files
Add WORD_MSBIT_HIGH define - machine_int_t with the highest bit set.
parent
fc5aac82
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/mpconfig.h
View file @
c260bc58
...
...
@@ -78,6 +78,8 @@
#define BITS_PER_BYTE (8)
#define BITS_PER_WORD (BITS_PER_BYTE * BYTES_PER_WORD)
// machine_int_t value with most significant bit set
#define WORD_MSBIT_HIGH (1 << (BYTES_PER_WORD * 8 - 1))
// printf format spec to use for machine_int_t and friends
#ifndef INT_FMT
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment