Ondřej Čertík
Ondřej Čertík
One of the CI failures is: ``` File "/Users/runner/work/lfortran/lfortran/src/libasr/pass/transform_optional_argument_functions.cpp", line 78, in LCompilers::ReplacePresentCalls::replace_IntrinsicElementalFunction(LCompilers::ASR::IntrinsicElementalFunction_t*) [ 37%] Built target test_linalg ASR::symbol_t* present_arg = ASR::down_cast(x->m_args[0])->m_v; File "/Users/runner/work/lfortran/lfortran/src/libasr/../libasr/asr.h", line 41, in LCompilers::ASR::Var_t* LCompilers::ASR::down_cast(LCompilers::ASR::expr_t const*)...
@gxyd, @Pranavchiku can you please review this?
No worries, we reviewed it at the phone call yesterday.
The above now prints: ```console $ lfortran a.f90 2 2 ``` Thanks @kmr-srbh for fixing it!
Nice catch. We have to implement support for `l`.
bc.. That's really nice and easy. p. Original comment: "http://code.google.com/p/mpmath/issues/detail?id=55#c2":http://code.google.com/p/mpmath/issues/detail?id=55#c2 p. Original author: "https://code.google.com/u/104039945248245758823/":https://code.google.com/u/104039945248245758823/
bc.. Interesting. Go ahead with this, it will be very useful to have this. p. Original comment: "http://code.google.com/p/mpmath/issues/detail?id=55#c5":http://code.google.com/p/mpmath/issues/detail?id=55#c5 p. Original author: "https://code.google.com/u/104039945248245758823/":https://code.google.com/u/104039945248245758823/
bc.. For the record, here is the output of it: 1/10 1/2 1/2 2/3 716/99 22/7 3 355/113 In my opinion, with the precision of floats in Python, I think...
bc.. For example if you try this: a = float(53)/2420933 print a print simplify(a, 1) print simplify(a, 10) print simplify(a, 100) print simplify(a, 1000) print simplify(a, 10000) print simplify(a, 100000)...
bc.. Any progress on this? Let's get it in, seems to be working in the easy cases already. p. Original comment: "http://code.google.com/p/mpmath/issues/detail?id=55#c9":http://code.google.com/p/mpmath/issues/detail?id=55#c9 p. Original author: "https://code.google.com/u/104039945248245758823/":https://code.google.com/u/104039945248245758823/