Skip to content

32-bit Floating-Point Support for EzPC#60

Open
krantikiran wants to merge 15 commits intompc-msri:masterfrom
krantikiran68:krantikiran_ezpc_flt
Open

32-bit Floating-Point Support for EzPC#60
krantikiran wants to merge 15 commits intompc-msri:masterfrom
krantikiran68:krantikiran_ezpc_flt

Conversation

@krantikiran
Copy link
Copy Markdown

Added the syntax, type-checker and code-generator for EzPC to ABY code coversion.
The current version uses the "+.", "-.", "*.", "/." to distinguish the floating-point operations from their integer counterparts. These operation are stored in the Ast as Binops.

In addition, the "FLOATEXP" and "FLOAT2EXP" unaray operators are added for the floating-point EXP and EXP2 functions in ABY.

Issue: The parser uses YAO circuit by default which are incompatible with Floating-Point ABY gates. One solution is that we can either change the default from YAO to BOOL and this would be a temporary fix or making the changes to the code-generator.

@krantikiran krantikiran force-pushed the krantikiran_ezpc_flt branch from 511d31a to 8f8b379 Compare June 19, 2020 10:28
@krantikiran krantikiran force-pushed the krantikiran_ezpc_flt branch from 731f01a to dfc7b90 Compare June 20, 2020 17:49
@krantikiran krantikiran force-pushed the krantikiran_ezpc_flt branch from dfc7b90 to 108feb8 Compare June 25, 2020 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants