Function L_SUFFIX [src]

Prototype

pub fn L_SUFFIX(comptime number: anytype) L_SUFFIX_ReturnType(number)

Source

pub fn L_SUFFIX(comptime number: anytype) L_SUFFIX_ReturnType(number) { switch (@typeInfo(@TypeOf(number))) { .int, .comptime_int => return promoteIntLiteral(c_long, number, .decimal), .float, .comptime_float => @compileError("TODO: c_longdouble initialization from comptime_float not supported"), else => @compileError("Invalid value for L suffix"), } }