diff options
| author | Duncan Ogilvie <mr.exodia.tpodt@gmail.com> | 2024-01-06 18:02:38 +0100 |
|---|---|---|
| committer | Duncan Ogilvie <mr.exodia.tpodt@gmail.com> | 2024-01-06 18:37:17 +0100 |
| commit | 0b0de2cbd1a5949cd8819899169446c5cf524cc3 (patch) | |
| tree | 060d114617d80f87d748098345d1cb4e2dde0b55 /miasm/expression/expression.py | |
| parent | f2335970fea3670c261c162e65e72ebef2a4de2e (diff) | |
| download | focaccia-miasm-0b0de2cbd1a5949cd8819899169446c5cf524cc3.tar.gz focaccia-miasm-0b0de2cbd1a5949cd8819899169446c5cf524cc3.zip | |
Replace /!\ with [!] to fix a few warnings
miasm/expression/expression_helper.py:90: SyntaxWarning: invalid escape sequence '\ '
Diffstat (limited to 'miasm/expression/expression.py')
| -rw-r--r-- | miasm/expression/expression.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm/expression/expression.py b/miasm/expression/expression.py index c507f19f..e5debb34 100644 --- a/miasm/expression/expression.py +++ b/miasm/expression/expression.py @@ -2146,7 +2146,7 @@ def expr_is_sNaN(expr): def expr_is_float_lower(op1, op2): """Return 1 on 1 bit if @op1 < @op2, 0 otherwise. - /!\ Assume @op1 and @op2 are not NaN + [!] Assume @op1 and @op2 are not NaN Comparison is the floating point one, defined in IEEE754 """ sign1, sign2 = op1.msb(), op2.msb() @@ -2160,7 +2160,7 @@ def expr_is_float_lower(op1, op2): def expr_is_float_equal(op1, op2): """Return 1 on 1 bit if @op1 == @op2, 0 otherwise. - /!\ Assume @op1 and @op2 are not NaN + [!] Assume @op1 and @op2 are not NaN Comparison is the floating point one, defined in IEEE754 """ sign1, sign2 = op1.msb(), op2.msb() |