| 
   | 
const std = @import("std");
const expect = std.testing.expect;
 | 
| scalbnldexp.zig Returns a * FLT_RADIX ^ exp. | 
pub const scalbn = @import("ldexp.zig").ldexp;
 | 
| Test:math.scalbn | 
test "math.scalbn" {
    // Verify we are using base 2.
    try expect(scalbn(@as(f16, 1.5), 4) == 24.0);
    try expect(scalbn(@as(f32, 1.5), 4) == 24.0);
    try expect(scalbn(@as(f64, 1.5), 4) == 24.0);
    try expect(scalbn(@as(f128, 1.5), 4) == 24.0);
}
 | 
| Generated by zstd-browse2 on 2023-11-04 14:12:23 -0400. |