Documentation

Miri.ABI.WrappingRange

The inclusive wrapping ranges used by rustc_abi::WrappingRange.

Range endpoints are machine-width u128 values (BitVec 128 in Lean). Values are compared as unsigned integers except in noSignedWraparound, which applies the source Size.sign_extend interpretation. Operations which call a panicking Size helper propagate that failure explicitly.

Instances For
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            Instances For
              Instances For
                @[instance_reducible]
                Equations
                Equations
                Instances For
                  @[inline]
                  Equations
                  Instances For
                    @[inline]
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      @[inline]
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        @[inline]
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          @[inline]
                          Equations
                          Instances For
                            @[inline]
                            Equations
                            Instances For
                              @[inline]
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[inline]
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For

                                  Match the upstream algorithm: use the obvious interval if it is no larger than any wraparound candidate; otherwise examine intervals between adjacent sorted values and keep the first minimum-width range.

                                  Equations
                                  Instances For