1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod lir_unary;
pub mod mir_quant;
pub mod pack;

use crate::internal::*;

pub fn output_type(input: DatumType) -> DatumType {
    if input.is_float() {
        input
    } else {
        i32::datum_type()
    }
}