[libre-riscv-dev] funding for work on algebraics

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Oct 15 03:14:09 BST 2019


On Tuesday, October 15, 2019, Jacob Lifshay <programmerjake at gmail.com>
wrote:

>
>
> Sounds good, though I think we should have different bindings to avoid
> needing global variables for rounding mode, exceptions, and similar.
> I'm thinking we add a FPEnv type that holds all of that and all the FP
> number types have a reference to the FPEnv type. That way, we can
> avoid needing to pass the FPEnv to all the operations, we only need to
> pass it to the operations that produce a FP number without any FP
> numbers as input (mostly type conversions from integer or bits).


Good idea. Globals bad.


>
>
>

-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the libre-riscv-dev mailing list