Skip to content

Commit 7b2215a

Browse files
authored
Merge pull request #723 from jepler/high-quality-float-hash
Enable high-quality float hash
2 parents 6711c5c + abec199 commit 7b2215a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

ports/atmel-samd/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
#define MICROPY_PY_SYS (1)
6565
#define MICROPY_PY_SYS_MAXSIZE (1)
6666
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
67+
#define MICROPY_FLOAT_HIGH_QUALITY_HASH (1)
6768
#define MICROPY_STREAMS_NON_BLOCK (1)
6869

6970
// fatfs configuration used in ffconf.h

ports/esp8266/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
#define MICROPY_CPYTHON_COMPAT (0)
9292
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
9393
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
94+
#define MICROPY_FLOAT_HIGH_QUALITY_HASH (1)
9495
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL)
9596
#define MICROPY_WARNINGS (1)
9697
#define MICROPY_PY_STR_BYTES_CMP_WARN (1)

ports/nrf/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
//CP UPDATE: See mpconfigport.h for LONGINT implementation
4848
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
4949
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
50+
#define MICROPY_FLOAT_HIGH_QUALITY_HASH (1)
5051

5152
#define MICROPY_OPT_COMPUTED_GOTO (0)
5253
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0)

0 commit comments

Comments
 (0)