stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: Add implementation for `math/base/special/exp10f`

Open sahil20021008 opened this issue 9 months ago • 5 comments

Description

This RFC proposes to add the implementation of math/base/special/exp10f

Related Issues

Related issues #649.

Questions

No.

Other

No.

Checklist

  • [x] I have read and understood the Code of Conduct.
  • [x] Searched for existing issues and pull requests.
  • [x] The issue name begins with RFC:.

sahil20021008 avatar Apr 18 '25 20:04 sahil20021008

Hey @sahil20021008! Hope you're doing well.

I came across this RFC and would love to contribute to it. If you could share more details about the expected functionality or any specific requirements, I’d be happy to give it a try!

Thanks!

Deepak91168 avatar Jun 12 '25 13:06 Deepak91168

Hey @Deepak91168 There arent any specific requirements as far as I can recall. exp10f function performs same operations but on float32 numbers instead of float64 For specific implementation, you will need to look at the implementation of the same function for some of the other math libraries such as Golang, Ruby, etc

sahil20021008 avatar Jun 13 '25 19:06 sahil20021008

Hey @Deepak91168 There arent any specific requirements as far as I can recall. exp10f function performs same operations but on float32 numbers instead of float64 For specific implementation, you will need to look at the implementation of the same function for some of the other math libraries such as Golang, Ruby, etc

Hi, just confirming it implement the exponential function e^x specifically for float32 values right? If so, are there any related functions or internal utilities you’d recommend checking out? I'd appreciate any pointers.

On it! Thanks!

Deepak91168 avatar Jun 13 '25 19:06 Deepak91168

You can go through similar functions like exp10, exp2, etc You should also go through some float32 functions so that you can get an idea of the basic difference between using single precision and double precision values

sahil20021008 avatar Jun 13 '25 19:06 sahil20021008

Thanks for explaining! I think I understood it properly, working on it!

Deepak91168 avatar Jun 14 '25 07:06 Deepak91168