User talk:Thundergnat: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "Hi. Nice job on the Perl6 version of Write language name in 3D ASCII ! :-) --~~~~")
 
(Attempt to explain problem with Perl 6 solution.)
Line 1: Line 1:
Hi. Nice job on the Perl6 version of [[Write language name in 3D ASCII]] ! :-)
Hi. Nice job on the Perl6 version of [[Write language name in 3D ASCII]] ! :-)
--[[User:Grondilu|Grondilu]] 19:36, 14 November 2012 (UTC)
--[[User:Grondilu|Grondilu]] 19:36, 14 November 2012 (UTC)

Hi Thundergnat.

Regarding the Perl 6 solution of the checking Machin Style formulas.
The problem is that the Perl 6 solution uses floating point numbers.
The task requires one to use exact computations.

For example:
is tan(atan(1/2)+atan(1/3)), 1;

Here atan(1/2) and atan(1/3) produces floating point values.

--[[User:Soegaard|Soegaard]] ([[User talk:Soegaard|talk]]) 15:31, 1 June 2013 (UTC)

Revision as of 15:31, 1 June 2013

Hi. Nice job on the Perl6 version of Write language name in 3D ASCII !  :-) --Grondilu 19:36, 14 November 2012 (UTC)

Hi Thundergnat.

Regarding the Perl 6 solution of the checking Machin Style formulas. The problem is that the Perl 6 solution uses floating point numbers. The task requires one to use exact computations.

For example:

  is  tan(atan(1/2)+atan(1/3)), 1;

Here atan(1/2) and atan(1/3) produces floating point values.

--Soegaard (talk) 15:31, 1 June 2013 (UTC)