---
title: "vcopysignf(_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/vcopysignf(_:_:)"
---

# vcopysignf(_:_:)

For each vector element, produces a value with the magnitude of arg2 and sign arg1.  Note that the order of the arguments matches the recommendation of the IEEE 754 floating-point standard, which is opposite from the SANE copysign function.

## Declaration

```swift
func vcopysignf(_: vFloat, _: vFloat) -> vFloat
```

## See Also

### Floating-Point Arithmetic and Auxiliary Functions (from vfp.h)

- [vceilf(_:)](accelerate/vceilf(_:).md)
- [vdivf(_:_:)](accelerate/vdivf(_:_:).md)
- [vfabf(_:)](accelerate/vfabf(_:).md)
- [vfabsf(_:)](accelerate/vfabsf(_:).md)
- [vfloorf(_:)](accelerate/vfloorf(_:).md)
- [vintf(_:)](accelerate/vintf(_:).md)
- [vnintf(_:)](accelerate/vnintf(_:).md)
- [vnextafterf(_:_:)](accelerate/vnextafterf(_:_:).md)
- [vrecf(_:)](accelerate/vrecf(_:).md)
- [vrsqrtf(_:)](accelerate/vrsqrtf(_:).md)
- [vsqrtf(_:)](accelerate/vsqrtf(_:).md)
- [vtablelookup(_:_:)](accelerate/vtablelookup(_:_:).md)
- [vtruncf(_:)](accelerate/vtruncf(_:).md)
