11.6Slukem/* $NetBSD: drand48.c,v 1.6 2005/06/12 05:21:28 lukem Exp $ */ 21.4Sperry 31.1Sbrezak/* 41.1Sbrezak * Copyright (c) 1993 Martin Birgmeier 51.1Sbrezak * All rights reserved. 61.1Sbrezak * 71.1Sbrezak * You may redistribute unmodified or modified versions of this source 81.1Sbrezak * code provided that the above copyright notice and this and the 91.1Sbrezak * following conditions are retained. 101.1Sbrezak * 111.1Sbrezak * This software is provided ``as is'', and comes with no warranties 121.1Sbrezak * of any kind. I shall in no event be liable for anything that happens 131.1Sbrezak * to anyone/anything when using this software. 141.1Sbrezak */ 151.1Sbrezak 161.6Slukem#include <sys/cdefs.h> 171.6Slukem#if defined(LIBC_SCCS) && !defined(lint) 181.6Slukem__RCSID("$NetBSD: drand48.c,v 1.6 2005/06/12 05:21:28 lukem Exp $"); 191.6Slukem#endif /* LIBC_SCCS and not lint */ 201.6Slukem 211.3Sjtc#include "namespace.h" 221.1Sbrezak#include "rand48.h" 231.1Sbrezak 241.3Sjtc#ifdef __weak_alias 251.5Smycroft__weak_alias(drand48,_drand48) 261.3Sjtc#endif 271.1Sbrezak 281.1Sbrezakdouble 291.1Sbrezakdrand48(void) 301.1Sbrezak{ 311.2Sjtc return erand48(__rand48_seed); 321.1Sbrezak} 33