IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

sub_ftz

def sub_ftz(a: Float32, b: Float32) -> Float32

Returns the flush-to-zero difference of two float32 values.

Args:

  • ​a (Float32): The minuend float32 value.
  • ​b (Float32): The subtrahend float32 value.

Returns:

Float32

def sub_ftz(a: SIMD[DType.float32, SIMDLength(2)], b: SIMD[DType.float32, SIMDLength(2)]) -> SIMD[DType.float32, SIMDLength(2)]

Returns the flush-to-zero difference of two f32x2 vectors.

Args:

Returns:

SIMD[DType.float32, SIMDLength(2)]

Was this page helpful?