<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/predefined-values",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Predefined Values"
}
-->

# Predefined Values

CFNumber provides some predefined number values.

## Topics

### Constants

[`let kCFNumberNaN: CFNumber!`](/documentation/CoreFoundation/kCFNumberNaN)

“Not a Number.” This value is often the result of an invalid operation, such as the square-root of a negative number.

[`let kCFNumberNegativeInfinity: CFNumber!`](/documentation/CoreFoundation/kCFNumberNegativeInfinity)

Designates a negative infinity value.

[`let kCFNumberPositiveInfinity: CFNumber!`](/documentation/CoreFoundation/kCFNumberPositiveInfinity)

Designates a positive infinity value.



---

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)