-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednix incompatibilitySome function works differently or doesn't work in the Nix targetSome function works differently or doesn't work in the Nix target
Description
Currently, int.power(a, b) and float.power(a, b) use recursive implementations, and thus only support integers for b. As an exception, I've explicitly added an algorithm for square root taken from nix-math, which applies when b == 0.5, so that the square_root function still works. Still, would be nice to have a more general algorithm, which can be hard as Nix doesn't have built-in power.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednix incompatibilitySome function works differently or doesn't work in the Nix targetSome function works differently or doesn't work in the Nix target