This repository has been archived by the owner on Jul 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GeneralGuy4872
committed
Dec 12, 2019
1 parent
fb4abfa
commit f35782e
Showing
10 changed files
with
99 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
NOTE: NOT READY FOR COMPILATION | ||
|
||
a .ch file is a code header file, and containes code that must | ||
be in the same translation unit as the .c file they are used in. | ||
these files contain volatile functions. each .ch file should | ||
correspond to a single blackbox-like abstraction layer. | ||
|
||
efforts will be made to move to using the linker rather than the | ||
proprocessor to combine files, however various sources indicate | ||
that this would be a pessimization in most of my use cases. | ||
|
||
files that do not require access to a global variable will | ||
use the linker; files that do will use preprocessor transclusion | ||
via a .ch file | ||
|
||
all details are subject to change, based on compiler tinkering. |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Valkerie, come. I must tell you something. | ||
In private. | ||
One such as you cannot serve two masters. | ||
There will soon come a time when your masters will be put at odds. | ||
you will be forced to choose between them. | ||
and your life will forever be changed. | ||
If you choose incorrectly, you will find an easy life ahead of you, devoid of fufillment. | ||
you will grow old and die without honor. | ||
If you choose correctly, your path will be hard and trecherous. | ||
but you will walk the path of destiny, and history will remember you as a great warrior. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MONS | ||
MORS | ||
ITERVM | ||
RESVRGVM |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef UTIL_H_REENTERANT | ||
#define UTIL_H_REENTERANT 1 | ||
skip () {} | ||
|
||
extern signed max(signed a,signed b); | ||
extern signed min(signed a,signed b); | ||
extern unsigned umax(unsigned a,unsigned b); | ||
extern unsigned umin(unsigned a,unsigned b); | ||
extern int sgn(signed n); | ||
|
||
extern signed long maxl(signed long a,signed long b); | ||
extern signed long minl(signed long a,signed long b); | ||
extern unsigned long umaxl(unsigned long a,unsigned long b); | ||
extern unsigned long uminl(unsigned long a,unsigned long b); | ||
extern int sgnl(signed long n); | ||
|
||
extern signed long long maxll(signed long long a,signed long long b); | ||
extern signed long minll(signed long long a,signed long long b); | ||
extern unsigned long long umaxll(unsigned long long a,unsigned long long b); | ||
extern unsigned long long uminll(unsigned long long a,unsigned long long b); | ||
extern int sgnll(signed long long n); | ||
|
||
extern float maxf(float a,float b); | ||
extern float minf(float a,float b); | ||
extern int sgnf(float n); | ||
|
||
extern double maxfd(double a,double b); | ||
extern double minfd(double a,double b); | ||
extern int sgnfd(float n); |