reprospect.test.sass.instruction.immediate module

class reprospect.test.sass.instruction.immediate.ImmediateView on GitHub

Bases: object

Immediate patterns.

..note:

Limits may print in dumped SASS followed by a space as in::

   FSETP.GEU.AND P1, PT, |R151|, +INF , PT
FLOATING: Final[str] = '(?:-?\\d+)(?:\\.\\d*)?(?:[eE][-+]?\\d+)?'

References:

FLOATING_OR_LIMIT: Final[str] = '(?:[+-]?INF\\s?|(?:[+-]?QNAN\\s?|0x7fffffff)|(?:-?\\d+)(?:\\.\\d*)?(?:[eE][-+]?\\d+)?)'
INF: Final[str] = '[+-]?INF\\s?'
QNAN: Final[str] = '(?:[+-]?QNAN\\s?|0x7fffffff)'

Quiet NaN. Note that in SASS, CUDART_NAN_F from math_constants.h is represented as 0x7fffffff.

classmethod floating() strView on GitHub

FLOATING with operands group.

classmethod floating_or_limit() strView on GitHub

FLOATING_OR_LIMIT with operands group.