Initializer

init(_:)

Creates a new instance from the given value, rounded to the closest possible representation.

Required. Default implementation provided.

Declaration

init(_ value: Float)

Parameters

value

A floating-point value to be converted.

Default Implementations

BinaryFloatingPoint Implementations

init<Source>(Source)

Creates a new instance from the given value, rounded to the closest possible representation.

init<Source>(Source)

Creates a new value, rounded to the closest possible representation.