-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
Description
csv-module
is very easy to use, thanks, @jacobwilliams !
Description
Both real32
and real64
are commonly used floating point precisions, although we can modify wp=>real64
to wp=>real32
in csv_kinds
.
But if csv-module
supports real32
and real64
at the same time, is it possible?
If it is worth a PR
I submitted support for real32
here. I don’t know if it is worth submitting a PR?
What I did is:
- Add
sp=>real32
incsv_kinds
; - Add
to_real_sp
, renameto_real
toto_real_wp
; - Add
get_real_sp_column
, renameget_real_column
toget_real_wp_column
; - Add a
test_csv_sp
test.
Addition
toml-f
also only supports double precision at the beginning, maybe for convenience, it now supports single precision and double precision floating point types.