kiba-engine
floating.h
1 #pragma once
2 
3 #include <kiba/format/buffer.h>
4 #include <kiba/format/format.h>
5 
6 b8 format_read_floating_point(format_buffer *buf, format_options options, f64 *value);
7 b8 format_write_floating_point(format_buffer *buf, format_options options, f64 value);
8 
9 FORMAT_FUNCTION(format_read_f64);
10 FORMAT_FUNCTION(format_write_f64);
11 FORMAT_FUNCTION(format_read_f32);
12 FORMAT_FUNCTION(format_write_f32);