---
title: Floating-Point Operators for Float
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/floating-point-operators-for-float
---

# Floating-Point Operators for Float

Perform arithmetic and bitwise operations or compare values.

## Topics

### Arithmetic

- [+(_:_:)](swift/float/+(_:_:).md)
- [-(_:_:)](swift/float/-(_:_:).md)
- [*(_:_:)](swift/float/*(_:_:).md)
- [/(_:_:)](swift/float/_(_:_:).md)

### Arithmetic with Assignment

- [+=(_:_:)](swift/float/+=(_:_:).md)
- [-=(_:_:)](swift/float/-=(_:_:).md)
- [*=(_:_:)](swift/float/*=(_:_:).md)
- [/=(_:_:)](swift/float/_=(_:_:).md)

### Comparison

- [==(_:_:)](swift/float/==(_:_:)-12hdt.md)
- [!=(_:_:)](swift/float/!=(_:_:).md)
- [<(_:_:)](swift/float/_(_:_:)-7lwp7.md)
- [<=(_:_:)](swift/float/_=(_:_:)-5yoz5.md)
- [>(_:_:)](swift/float/_(_:_:)-552jr.md)
- [>=(_:_:)](swift/float/_=(_:_:)-9o6ha.md)

### Negation

- [-(_:)](swift/float/-(_:).md)
- [+(_:)](swift/float/+(_:).md)

### Range Expressions

- [..<(_:)](swift/float/'.._(_:).md)
- [...(_:)](swift/float/'...(_:)-4mm65.md)
- [...(_:)](swift/float/'...(_:)-6ct5t.md)

## See Also

### Performing Calculations

- [addingProduct(_:_:)](swift/float/addingproduct(_:_:).md)
- [addProduct(_:_:)](swift/float/addproduct(_:_:).md)
- [squareRoot()](swift/float/squareroot().md)
- [formSquareRoot()](swift/float/formsquareroot().md)
- [remainder(dividingBy:)](swift/float/remainder(dividingby:).md)
- [formRemainder(dividingBy:)](swift/float/formremainder(dividingby:).md)
- [truncatingRemainder(dividingBy:)](swift/float/truncatingremainder(dividingby:).md)
- [formTruncatingRemainder(dividingBy:)](swift/float/formtruncatingremainder(dividingby:).md)
- [negate()](swift/float/negate().md)
