<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Float16/leastNonzeroMagnitude",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s7Float16V21leastNonzeroMagnitudeABvpZ"
  },
  "title" : "leastNonzeroMagnitude"
}
-->

# leastNonzeroMagnitude

The least positive number.

```
static var leastNonzeroMagnitude: Float16 { get }
```

## Discussion

This value compares less than or equal to all positive numbers, but
greater than zero. If the type supports subnormal values,
`leastNonzeroMagnitude` is smaller than `leastNormalMagnitude`;
otherwise they are equal.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)