Searched refs:display_format (Results 1 – 5 of 5) sorted by relevance
220 print "not " unless Math::Complex->display_format eq 'cartesian';227 \$j->display_format('polar');233 print "not " unless \$j->display_format eq 'polar';243 my %display_format;245 %display_format = \$j->display_format;251 print "not " unless \$display_format{style} eq 'polar';258 print "not " unless keys %display_format == 2;261 \$j->display_format('style' => 'cartesian', 'format' => '%.5f');270 %display_format = \$j->display_format;276 print "not " unless \$display_format{format} eq '%.5f';[all …]
281 $self->display_format('cartesian');315 $self->display_format('polar');1421 sub display_format { subroutine1423 my %display_format = %DISPLAY_FORMAT;1426 if (exists $self->{display_format}) {1427 my %obj = %{$self->{display_format}};1428 @display_format{keys %obj} = values %obj;1432 $display_format{style} = shift;1435 @display_format{keys %new} = values %new;1439 $self->{display_format} = { %display_format };[all …]
374 display_format used as a class method without arguments was broken,377 Subject: Math::Complex->display_format() sets style to 'Math::Complex'
1100 The class method C<display_format> and the corresponding object method1101 C<display_format>, in addition to accepting just one argument, now can
1698 The class method C<display_format> and the corresponding object method1699 C<display_format>, in addition to accepting just one argument, now can