| AI Engine-ML Intrinsics User Guide (v2026.1)

Loading...
Searching...
No Matches
Functions
Scalar Conversions
Scalar Operations

## Overview

Intrinsics to convert complex integers and regular integers into each other.

## Functions
bfloat16 | as__bfloat16 (short)
cbfloat16 | as_cbfloat16 (unsigned int)
cint16 | as_cint16 (int)
cint16 | as_cint16 (unsigned int)
int | as_int32 (cint16)
unsigned short | as_short (bfloat16)
unsigned int | as_uint32 (bfloat16)
unsigned int | as_uint32 (cbfloat16)
unsigned int | as_uint32 (cint16)

## Function Documentation

## ◆ as__bfloat16()

bfloat16 as__bfloat16 | ( | short |  | ) |

## ◆ as_cbfloat16()

cbfloat16 as_cbfloat16 | ( | unsigned int |  | ) |

## ◆ as_cint16() [1/2]

cint16 as_cint16 | ( | int |  | ) |

## ◆ as_cint16() [2/2]

cint16 as_cint16 | ( | unsigned int |  | ) |

## ◆ as_int32()

int as_int32 | ( | cint16 |  | ) |

## ◆ as_short()

unsigned short as_short | ( | bfloat16 |  | ) |

## ◆ as_uint32() [1/3]

unsigned int as_uint32 | ( | bfloat16 |  | ) |

## ◆ as_uint32() [2/3]

unsigned int as_uint32 | ( | cbfloat16 |  | ) |

## ◆ as_uint32() [3/3]

unsigned int as_uint32 | ( | cint16 |  | ) |