rust/src
Jed Davis db34b5acd1 Prevent random floats from occasionally being greater than 1.
Previously, gen_f64 could generate numbers as high as 1.0000000002328306
in the case that u3 was 4294967295.0f64 and u2 was nonzero.  This change
divides the random numbers by 2**32 instead, effectively concatenating
their bits as apparently intended.  (Bonus fix: const.)

The comments are updated to be more specific than "random float"; note
that this can still generate 1.0f64 (P = 2**-54) due to rounding.
2012-07-16 21:54:57 -07:00
..
cargo remove typestate from code, tests, and docs 2012-07-14 17:37:20 -07:00
compiletest ~strify win32-specific fns 2012-07-14 18:28:20 -07:00
etc Fix problem in combine-tests.py. 2012-07-14 12:00:02 -07:00
fuzzer remove typestate from code, tests, and docs 2012-07-14 17:37:20 -07:00
libcore Prevent random floats from occasionally being greater than 1. 2012-07-16 21:54:57 -07:00
libstd replace core::tuple functions with methods 2012-07-16 22:33:20 +01:00
libsyntax introduce an owned kind for data that contains no borrowed ptrs 2012-07-16 20:18:18 -07:00
libuv@1170ffba3a
llvm@3a57b672f8
rt Oops, switch more TODOs to FIXMEs 2012-07-13 20:33:08 -04:00
rustc introduce an owned kind for data that contains no borrowed ptrs 2012-07-16 20:18:18 -07:00
rustdoc replace core::tuple functions with methods 2012-07-16 22:33:20 +01:00
rustllvm
test introduce an owned kind for data that contains no borrowed ptrs 2012-07-16 20:18:18 -07:00
README.txt
snapshots.txt Register snapshots. 2012-07-15 05:41:24 -07:00

This is preliminary version of the Rust compiler, libraries and tools

Source layout:

rustc/             The self-hosted compiler

libcore/           The core library (imported and linked by default)
libstd/            The standard library (slightly more peripheral code)
libsyntax/         The Rust parser and pretty-printer

rt/                The runtime system
rt/rust_*.cpp      - The majority of the runtime services
rt/isaac           - The PRNG used for pseudo-random choices in the runtime
rt/bigint          - The bigint library used for the 'big' type
rt/uthash          - Small hashtable-and-list library for C, used in runtime
rt/sync            - Concurrency utils
rt/util            - Small utility classes for the runtime.
rt/vg              - Valgrind headers
rt/msvc            - MSVC support

test/              Testsuite
test/compile-fail  - Tests that should fail to compile
test/run-fail      - Tests that should compile, run and fail
test/run-pass      - Tests that should compile, run and succeed
test/bench         - Benchmarks and miscellanea
test/pretty        - Pretty-printer tests
test/auxiliary     - Dependencies of tests

compiletest/       The test runner

cargo/             The package manager

rustdoc/           The Rust API documentation tool

llvm/              The LLVM submodule

libuv/             The libuv submodule

rustllvm/          LLVM support code

fuzzer/            A collection of fuzz testers

etc/               Scripts, editor support, misc