·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->IRIX man pages -> f90/fraction (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

### Contents

```
FRACTION(3I)					       Last changed: 1-6-98

```

### NAME[Toc][Back]

```     FRACTION -	Returns	the fractional part of the numeric model
representation of the argument value
```

### SYNOPSIS[Toc][Back]

```     FRACTION ([X=]x)
```

### IMPLEMENTATION[Toc][Back]

```     UNICOS, UNICOS/mk,	and IRIX systems
```

### STANDARDS[Toc][Back]

```     Fortran 90
```

### DESCRIPTION[Toc][Back]

```     The FRACTION intrinsic function returns the fractional part of the
numeric model representation of the argument value.  It accepts the
following argument:

x	  Must be of type real

FRACTION is an elemental function.	 The name of this intrinsic cannot
be	passed as an argument.
```

### RETURN VALUES[Toc][Back]

```     The result	type and type parameter	are that of x.	The result has the
value x multiplied	by
-e
b	, where	b and e	are as defined in the real number system model.
For more information on the real number system model, see the
MODELS(3I)	man page.

If	x has the value	zero, the result has the value zero.
```

### EXAMPLES[Toc][Back]

```     FRACTION(3.0) has the value 0.75 for reals.
```

```     MODELS(3I)

Intrinsic Procedures Reference Manual, publication	SR-2138, for the
printed version of	this man page.

FRACTION(3I)					       Last changed: 1-6-98

```

### NAME[Toc][Back]

```     FRACTION -	Returns	the fractional part of the numeric model
representation of the argument value
```

### SYNOPSIS[Toc][Back]

```     FRACTION ([X=]x)
```

### IMPLEMENTATION[Toc][Back]

```     UNICOS, UNICOS/mk,	and IRIX systems
```

### STANDARDS[Toc][Back]

```     Fortran 90
```

### DESCRIPTION[Toc][Back]

```     The FRACTION intrinsic function returns the fractional part of the
numeric model representation of the argument value.  It accepts the
following argument:

x	  Must be of type real

FRACTION is an elemental function.	 The name of this intrinsic cannot
be	passed as an argument.
```

### RETURN VALUES[Toc][Back]

```     The result	type and type parameter	are that of x.	The result has the
value x multiplied	by
-e
b	, where	b and e	are as defined in the real number system model.
For more information on the real number system model, see the
MODELS(3I)	man page.

If	x has the value	zero, the result has the value zero.
```

### EXAMPLES[Toc][Back]

```     FRACTION(3.0) has the value 0.75 for reals.
```

```     MODELS(3I)