---
title: negativeInfinity
framework: coremedia
role: symbol
role_heading: Type Property
path: coremedia/cmtime/negativeinfinity
---

# negativeInfinity

A value that represents negative infinity.

## Declaration

```swift
static let negativeInfinity: CMTime
```

## Discussion

Discussion Don’t test a time against this constant using (time == negativeInfinity) because there are many times that are also negative infinity. Use CMTIME_IS_NEGATIVEINFINITY(_:) instead.

## See Also

### Constants

- [zero](coremedia/cmtime/zero.md)
- [invalid](coremedia/cmtime/invalid.md)
- [indefinite](coremedia/cmtime/indefinite.md)
- [positiveInfinity](coremedia/cmtime/positiveinfinity.md)
