harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 453901edc02420bda841f892b60169340a9f999b
parent eb82a7ded424d0472ae3154b0f5d9c2f2b876a88
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun,  2 May 2021 13:58:05 -0400

Revert "eval_cast: implement floats"

This reverts commit b5ae44efb55c923a8fdec5bf5326bf92481fd3be.

Diffstat:
Msrc/eval.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/eval.c b/src/eval.c @@ -424,8 +424,6 @@ eval_cast(struct context *ctx, struct expression *in, struct expression *out) case STORAGE_F32: case STORAGE_F64: case STORAGE_FCONST: - out->constant.fval = ftrunc(to, val.constant.fval); - return EVAL_OK; case STORAGE_CHAR: case STORAGE_ENUM: case STORAGE_NULL: