Header And Logo

PostgreSQL
| The world's most advanced open source database.

random.c

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * random.c
00004  *    random() wrapper
00005  *
00006  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00007  * Portions Copyright (c) 1994, Regents of the University of California
00008  *
00009  *
00010  * IDENTIFICATION
00011  *    src/port/random.c
00012  *
00013  *-------------------------------------------------------------------------
00014  */
00015 
00016 #include "c.h"
00017 
00018 #include <math.h>
00019 
00020 
00021 long
00022 random()
00023 {
00024     return pg_lrand48();
00025 }