Wednesday, June 3, 2020

Digest for comp.lang.c++@googlegroups.com - 5 updates in 1 topic

"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jun 03 06:13AM +0200

On 02.06.2020 08:30, Chris M. Thomasson wrote:
>>> call to `pow`, `cos` and `sin`, to get a generator which it then can
>>> call repeatedly to more fastishly get the b roots.
 
> Using the constant e should help out.
 
Not sure what you mean; I see no way it could help out.
 
Perhaps you though I was just spouting nonsense. To cover that
possibility, here's a trivial implementation of a root generator:
 
 
-----------------------------------------------------------------------------
#ifndef _USE_MATH_DEFINES
# error "_USE_MATH_DEFINES not defined. Needed for Posix constant M_PI."

No comments: