source-academy / py-slang

Python sublanguage for SICP
Apache License 2.0
0 stars 0 forks source link

Math library does not match that of Python's #42

Open JJtan2002 opened 1 month ago

JJtan2002 commented 1 month ago

The Math library currently has the same implementation as Source, following JavaScript. For reference: https://docs.sourceacademy.org/MATH/

Instead, we should support all functions in the Python Math library as given here: https://docs.python.org/3/library/math.html

martin-henz commented 1 month ago

Yes, correct. We need to support Python's math library.