This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| echo Building GCC m68k toolchain... | |
| mkdir -p sources | |
| mkdir -p build | |
| CORES=8 | |
| TARGET=m68k-unknown-elf | |
| PREFIX=$PWD/m68k-unknown-elf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| constexpr uint64_t mask(int i) | |
| { | |
| return (1ull << i) - 1; | |
| } | |
| float Round1(double tmp) | |
| { | |
| uint64_t i; | |
| memcpy(&i, &tmp, sizeof i); |
OlderNewer