drand48.c revision 3016
13016Swollman/* 23016Swollman * Copyright (c) 1993 Martin Birgmeier 33016Swollman * All rights reserved. 43016Swollman * 53016Swollman * You may redistribute unmodified or modified versions of this source 63016Swollman * code provided that the above copyright notice and this and the 73016Swollman * following conditions are retained. 83016Swollman * 93016Swollman * This software is provided ``as is'', and comes with no warranties 103016Swollman * of any kind. I shall in no event be liable for anything that happens 113016Swollman * to anyone/anything when using this software. 123016Swollman */ 133016Swollman 143016Swollman#include "rand48.h" 153016Swollman 163016Swollmanextern unsigned short _rand48_seed[3]; 173016Swollman 183016Swollmandouble 193016Swollmandrand48(void) 203016Swollman{ 213016Swollman return erand48(_rand48_seed); 223016Swollman} 23