Changeset 13528 for docs/Perl6/API

Show
Ignore:
Timestamp:
09/21/06 07:03:46 (2 years ago)
Author:
ajs
Message:

Per Larry answer, moved radical glyph to API doc with :UNI export tagging and cleaned up API doc a bit

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/Perl6/API/Math/Basic.pod

    r11540 r13528  
    1010use Math::Basic 
    1111 
     12=head2 Tags 
     13 
     14The following export tags are available: 
     15 
     16 :UNI 
     17 :compat 
     18 :constants 
    1219 
    1320=head2 Constants 
     
    153160For complex numbers, C<truncate> has the following behavior: TODO 
    154161 
    155 C<int> is  
     162=item exp 
     163 
    156164 our Num multi Math::Basic::exp ( Num $exponent, Num :$base = Num::e ) 
     165 
     166=item log 
     167 
     168=item log10 
     169 
    157170 our Num multi Math::Basic::log ( Num $x, Num :$base ) 
    158171 our Num multi Math::Basic::log10 (Num $x); 
     172 
     173=item rand 
     174 
    159175 our Num multi Math::Basic::rand ( Num $x = 1 ) 
     176 
     177=item sign 
     178 
    160179 our Int multi Math::Basic::sign ( Num $x ) 
     180 
     181=item srand 
     182 
    161183 our multi Math::Basic::srand ( Num $seed = default_seed_algorithm()) 
     184 
     185=item sqrt 
     186 
     187=item √ 
     188 
    162189 our Num multi Math::Basic::sqrt ( Num $x ) 
     190 our Num multi prefix:Math::Basic::<√> ( Num $x ) 
     191 
     192√ is only exported with the C<:UNI> tag. 
    163193 
    164194=head2 Methods