reciprocal

calculate the reciprocal of given number


Parameters

reciprocal value :integer :floating :rational

Returns

  • :rational

Examples

copy
r: to :rational [3 2] print reciprocal r ; 2/3

copy
reciprocal 3 ; => 1/3 reciprocal 3.2 ; => 5/16

Related