<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMTimeMultiplyByFloat64(_:multiplier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "c:@F@CMTimeMultiplyByFloat64"
  },
  "title" : "CMTimeMultiplyByFloat64(_:multiplier:)"
}
-->

# CMTimeMultiplyByFloat64(_:multiplier:)

Returns the result of multiplying a time by a floating-point multiplier.

```
func CMTimeMultiplyByFloat64(_ time: CMTime, multiplier: Float64) -> CMTime
```

## Parameters

`time`

A time value to multiply.

`multiplier`

A 64-bit floating-point multiplier value.

## Return Value

A time structure that represents the product of the multiplied time.

## Discussion

The result has the same timescale as the passed time argument. If the result’s timescale is less than `65536`, the system repeatedly doubles it until it’s at least that value. If the result overflows, the system repeatedly halves the result until no overflow occurs. The system applies the default rounding method when converting the result to this timescale. If the result’s value still overflows when its timescale is `1`, then the result is positive or negative infinity, depending on the direction of the overflow. If rounding occurs for any reason, the system sets the result’s [`hasBeenRounded`](/documentation/CoreMedia/CMTimeFlags/hasBeenRounded) flag. It also sets this flag if the time argument has [`hasBeenRounded`](/documentation/CoreMedia/CMTimeFlags/hasBeenRounded) set. If the `time` operand is invalid, the result is invalid. If the time operand is valid but infinite, the result is infinite and of an appropriate sign, based on the signs of both operands. If the time operand is valid, but indefinite, the result is indefinite.

---

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)