daphne-project/daphne

Reconsider type inference for `EwPowOp`

开放

#776 创建于 2024年7月2日

 (1 条评论) (0 个反应) (0 位负责人)C++ (84 个派生)auto 404
buggood first issue

仓库指标

星标
 (80 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

The DaphneDSL expression 10 ^ -3 yields the unexpected result 0, since the results is returned as an integer just like the argument. It would be more intuitive to return 0.001, just like the DaphneDSL expression 10.0 ^ -3 does. To this end, we need to adapt the type inference for EwPowOp.

贡献者指南