summaryrefslogtreecommitdiff
path: root/zap/source/any/math
AgeCommit message (Collapse)Author
2023-04-10Move C++ facilities to their own headers; Add more C++ variants; Add ↵Gabriel Jensen
fixed-width floating-point types; Make minimum-width integer types fixed-width; Update code style; Add new module 'sys'; Add syscall function; Add option to disable sys module; Add function to mark unreachable code; Make trap public; Remove version checks; Add floating-point mathematical functions; Add compiler detection macros; Fragmentate headers; Add character sign detection; (Temporarily) remove support for MIPS, POWER, and SPARC; Make noret public; Add attributes; Use MSVC constructs; Make restr public; Fix C++ srch; Install new headers; Add bytewise overloads for C++ memory functions; Add metaprogramming class for removing type qualifiers; Overload C++ maxval and minval for character types and the boolean type; Add wchr type to C; Add macros for detecting the language standard;
2023-03-25cp: Return structure with the one-after-the-end addresses of both dest and ↵Gabriel Jensen
src; Remove all mathematical functions except divmod (and C++ variants); Combine quotrem and frac into new type 'pair'; Use new versioning: api.ext.patch; Remove compatver (and add extver);
2023-03-17Add integer-string format functions; Move string-related facilities to new ↵Gabriel Jensen
module 'str'; Update code style; Add aliases for C++; Add C++ metaprogramming classes; Fix C/C++ standard detections; Add more attributes to functions; Implement mathematical functions in C++; Implement mathematical functions using basic arithmetic types, including (depending on the function) signed, unsigned, and floating-point; Add fraction structure;
2023-01-28Update assembly comments; Implement fill in AMD64; Remove signal support; ↵Gabriel Jensen
Fix exp;
2023-01-27Implement exp; Fix bad directory name; Fix makefile;Gabriel Jensen
2023-01-27Implement cp and abs in AMD64; Fix indentations; Implement cp and abs in ARM64;Gabriel Jensen
2023-01-22Rewrite project (the following is the current feature set); Add ↵Gabriel Jensen
minimum-width unsigned integer types: i8, i01, i02, i04; Add minimum-width signed integer types: i8s, i01s, i02s, i04s; Add type for object sizes: sz; Add type for pointer values: ptr; Add function for logical values: bool; Add logical constants: false, true; Add function for memory sequence copying: cp; Add function for memory sequence filling: fill; Add types for storing quotients and remainders: quotrem8, quotrem01, quotrem02, quotrem04; Add function for division and modulo: divmod; Add function for getting absolute values: abs; Add function for memory sequence comparison: eq; Add function for radication: root (unimplemented); Add function for exponentiation: exp (unimplemented); Add function for bytes value searching: srch: Add constant for indicating invalid positions: nopos; Add constant for indicating null pointers: nullptr; Add types for UTF-8, UTF-16,a and UTF-32 values: chr8, chr01, chr02; Add function for UTF-8 encoding: utf8enc; Add function for UTF-8 decoding: utf8dec; Add function for UTF-32 to UTF-8 length calculations: utf8enclen; Add function for UTF-8 to UTF-32 length calculations: utf8declen; Add function for Windows-1252 encoding: win1252enc; Add function for Windows-1252 decoding: win1252dec; Add function for logarithming: log (unimplemented);