import '../../../../assert/js/assert.js';
import '../../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Utility for converting a number into a 32-bit float string.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../../imports.js';
const f32 = (n) => {
    assert && assert(Number.isFinite(n), `Invalid f32 value: ${n}`);
    return `${n}f`;
};
alpenglow.register('f32', f32);
export default f32;
//# sourceMappingURL=f32.js.map