summaryrefslogtreecommitdiffstats
path: root/spec-spec/spec/spec-assert-float.yml
blob: fd6f2564fc1ff04c30d83b4ffb139cd018753d80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
links:
- role: spec-member
  uid: root
spec-description: |
  A value of this type shall be an expression which asserts that the
  floating-point value of the specified attribute satisfies the required
  constraints.
spec-example: null
spec-info:
  dict:
    attributes:
      and:
        description: |
          The *and* operator evaluates to the *logical and* of the evaluation
          results of the expressions in the list.
        spec-type: spec-assert-float-list
      eq:
        description: |
          The *eq* operator evaluates to true, if the value to check is equal
          to the value of this attribute, otherwise to false.
        spec-type: float
      ge:
        description: |
          The *ge* operator evaluates to true, if the value to check is greater
          than or equal to the value of this attribute, otherwise to false.
        spec-type: float
      gt:
        description: |
          The *gt* operator evaluates to true, if the value to check is greater
          than the value of this attribute, otherwise to false.
        spec-type: float
      le:
        description: |
          The *le* operator evaluates to true, if the value to check is less
          than or equal to the value of this attribute, otherwise to false.
        spec-type: float
      lt:
        description: |
          The *lt* operator evaluates to true, if the value to check is less
          than the value of this attribute, otherwise to false.
        spec-type: float
      ne:
        description: |
          The *ne* operator evaluates to true, if the value to check is not
          equal to the value of this attribute, otherwise to false.
        spec-type: float
      not:
        description: |
          The *not* operator evaluates to the *logical not* of the evaluation
          results of the expression.
        spec-type: spec-assert-float
      or:
        description: |
          The *or* operator evaluates to the *logical or* of the evaluation
          results of the expressions in the list.
        spec-type: spec-assert-float-list
    description: |
      Each attribute defines an operator.
    mandatory-attributes: exactly-one
  list:
    description: |
      This list of expressions evaluates to the *logical or* of the evaluation
      results of the expressions in the list.
    spec-type: spec-assert-float
spec-name: Specification Floating-Point Assert
spec-type: spec-assert-float
type: spec