SINH Examples


Example 1:

 

  

SINH

VALUE,RESULT

 

 

Variable

Format

Contents

Before:

VALUE

3

4

 

RESULT

2.13

0

 

After:

VALUE

3

4

 

RESULT

2.13

27.28991719713

 

No Condition Flag is set.

 

Example 2:

 

 

Variable

Format

Contents

Before:

VALUE

2

2

 

RESULT

2.6

•3.000000

 

After:

VALUE

2

2

 

RESULT

2.6

10.017875

 

The OVER Condition Flag is set. RESULT was too small to contain 10.01787492741. The LESS and ZERO Condition Flags are unpredictable.

 

Example 3:

 

  

SINH

"-3",,RECVING

 

 

Variable

Format

Contents

Before:

RECVING

3.12

150.26•••••••••

 

After:

RECVING

3.12

-10.01787492741

 

The LESS Condition Flag is set. RECVING has a negative amount.

 



PL/B Language Reference SIN Examples SINSERT Examples