And also sage: log(*2*,x)
log(2)/log(x) which goes a long ways to explain the previous results. So log(2,x) is not actually log to the base 2 of x. On Saturday, July 18, 2020 at 11:45:06 AM UTC-7, Michael Beeson wrote: > > sage: n(log(*2*,*408*/*370*)) > > 7.08999206263157 > > sage: log(*2*,*2*) > > 1 > > sage: *2*^*7* > > 128 > > sage: n(log(*2*,*408.0*/*370*)) > > 7.08999206263157 > > sage: version() > > 'SageMath version 8.7, Release Date: 2019-03-23' > > sage: n(log(*2*,*1.001*)) > > 693.493696416899 > > sage:log(2,1) gives an error instead of 0. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/be80ff3d-5a5f-4a0a-9b5f-e5c227976d7do%40googlegroups.com.