aboutsummaryrefslogtreecommitdiff
path: root/src/primitives.gperf
diff options
context:
space:
mode:
Diffstat (limited to 'src/primitives.gperf')
-rw-r--r--src/primitives.gperf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/primitives.gperf b/src/primitives.gperf
index 230413f..ca9b8c2 100644
--- a/src/primitives.gperf
+++ b/src/primitives.gperf
@@ -29,8 +29,10 @@ u64, { TYPE_NUM, {.size = 8, .issigned=false, .isfloat=false} }
u128, { TYPE_NUM, {.size = 16, .issigned=false, .isfloat=false} }
uint, { TYPE_NUM, {.size = 8, .issigned=false, .isfloat=false} }
rune, { TYPE_NUM ,{.size = 4, .issigned=true, .isfloat=false} }
+f16, { TYPE_NUM, {.size = 2, .issigned=true, .isfloat=true } }
f32, { TYPE_NUM, {.size = 4, .issigned=true, .isfloat=true } }
f64, { TYPE_NUM, {.size = 8, .issigned=true, .isfloat=true } }
+f128, { TYPE_NUM, {.size = 16, .issigned=true, .isfloat=true } }
%%
const struct type *
typelookup(const uchar *p, size_t len)