summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt4
-rw-r--r--zp/include-private/zp/imp/prv.ii6
-rw-r--r--zp/include/zp/bas24
-rw-r--r--zp/include/zp/bas.h18
-rw-r--r--zp/include/zp/imp/mem.ii2
-rw-r--r--zp/include/zp/mth258
-rw-r--r--zp/include/zp/mth.h220
-rw-r--r--zp/source/any/bas/syscal.c2
-rw-r--r--zp/source/any/mem/memsrh.c2
-rw-r--r--zp/source/any/str/utf16dec.c2
-rw-r--r--zp/source/any/str/utf16declen.c2
-rw-r--r--zp/source/any/str/utf16enc.c2
-rw-r--r--zp/source/any/str/utf16enclen.c2
-rw-r--r--zp/source/any/str/utf8dec.c2
-rw-r--r--zp/source/any/str/utf8declen.c2
-rw-r--r--zp/source/any/str/utf8enc.c2
-rw-r--r--zp/source/any/str/utf8enclen.c2
17 files changed, 278 insertions, 274 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 1df0eee..37c0c97 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -151,6 +151,10 @@
* Rename nret back to noret;
+* Rename useq to unseq;
+* Rename urch to unrch;
+* Rename ulik to unlik;
+
# 0.0.2
* Migrate to CMake;
diff --git a/zp/include-private/zp/imp/prv.ii b/zp/include-private/zp/imp/prv.ii
index 826252c..21019b3 100644
--- a/zp/include-private/zp/imp/prv.ii
+++ b/zp/include-private/zp/imp/prv.ii
@@ -19,7 +19,7 @@ template<typename typ> zp_nthw bool zp::det::strequ(typ const * lstr,typ const *
for (;;++lstr,++rstr) {
zp_lik (*lstr != *rstr) {return false;}
- zp_ulik (*lstr == typ (0x0)) {break;}
+ zp_unlik (*lstr == typ (0x0)) {break;}
}
return true;
@@ -51,8 +51,8 @@ template<typename typ> zp_nthw typ * zp::det::strsrh(typ const * str,typ const c
for (;;++str) {
typ const curchr = *str;
- zp_ulik (curchr == chr) {return const_cast<typ *>(str);}
- zp_ulik (curchr == typ (0x0)) {break;}
+ zp_unlik (curchr == chr) {return const_cast<typ *>(str);}
+ zp_unlik (curchr == typ (0x0)) {break;}
}
return zp_nulptr;
diff --git a/zp/include/zp/bas b/zp/include/zp/bas
index 16c43a8..6851f7f 100644
--- a/zp/include/zp/bas
+++ b/zp/include/zp/bas
@@ -14,19 +14,19 @@
#include <zp/bas.h>
/*
- ttval:
+ trtval:
We need to be careful when using this. We
cannot use it for all types of global data
members: Only those that under no
- circumstance have extern linkage may use it, as
- mixed constexpr/static const across translation
- units is not allowed.
+ circumstance have external linkage may use it,
+ as mixed constexpr/static const across
+ translation units has undefined behaviour.
*/
#if zp_std_cxx11
-#define zp_prv_ttval(typ) constexpr typ
+#define zp_prv_trtval(typ) constexpr typ
#else
-#define zp_prv_ttval(typ) static typ const
+#define zp_prv_trtval(typ) static typ const
#endif
namespace zp {
@@ -330,21 +330,21 @@ namespace zp {
template<typename typ> concept inttyp = ::zp::isinttyp<typ>::val;
#endif
- zp_prv_ttval(::zp::i04m) ver = zp_ver;
- zp_prv_ttval(::zp::i04m) extver = zp_extver;
+ zp_prv_trtval(::zp::i04m) ver = zp_ver;
+ zp_prv_trtval(::zp::i04m) extver = zp_extver;
- zp_prv_ttval(::zp::siz) bytelen = zp_bytelen;
+ zp_prv_trtval(::zp::siz) bytelen = zp_bytelen;
- zp_prv_ttval(::zp::siz) nopos = zp_nopos;
+ zp_prv_trtval(::zp::siz) nopos = zp_nopos;
- zp_prv_ttval(::zp::c02) unimax = zp_unimax;
+ zp_prv_trtval(::zp::c02) unimax = zp_unimax;
#if zp_std_cxx11
zp_iln constexpr auto iscstevl() noexcept -> bool; // is constant-evaluated
#endif
zp_iln zp_noret zp_nthw inline void trp() {::zp_trp();}
- zp_iln zp_noret zp_nthw inline void urch() {zp_urch();}
+ zp_iln zp_noret zp_nthw inline void urch() {zp_unrch();}
#if zp_std_cxx11 // We cannot use template parameter packs before C++11, so this function becomes quite non-trivial to implement.
template<typename... typs> zp_iln inline auto syscal(::zp::syscalidt idt,typs const &... args) -> ::zp::syscalres {return ::zp_syscal(idt,args...);}
diff --git a/zp/include/zp/bas.h b/zp/include/zp/bas.h
index ce94d67..531301e 100644
--- a/zp/include/zp/bas.h
+++ b/zp/include/zp/bas.h
@@ -165,13 +165,13 @@ typedef char unsigned zp_prv_bool;
#if zp_prv_hasbltin(__builtin_expect)
#define zp_lik(expr) if (__builtin_expect((expr),0x1))
-#define zp_ulik(expr) if (__builtin_expect((expr),0x0))
+#define zp_unlik(expr) if (__builtin_expect((expr),0x0))
#elif zp_std_cxx20
#define zp_lik(expr) if ((expr)) [[likely]]
-#define zp_ulik(expr) if ((expr)) [[unlikely]]
+#define zp_unlik(expr) if ((expr)) [[unlikely]]
#else
#define zp_lik(expr) if ((expr))
-#define zp_ulik(expr) if ((expr))
+#define zp_unlik(expr) if ((expr))
#endif
#if zp_prv_hasatr(__noreturn__)
@@ -201,11 +201,11 @@ typedef char unsigned zp_prv_bool;
#endif
#if zp_prv_hasatr(__const__)
-#define zp_useq __attribute__ ((__const__))
+#define zp_unseq __attribute__ ((__const__))
#elif zp_std_c23
-#define zp_useq [[unsequenced]]
+#define zp_unseq [[unsequenced]]
#else
-#define zp_useq
+#define zp_unseq
#endif
#if zp_prv_hasatr(__unused__)
@@ -217,11 +217,11 @@ typedef char unsigned zp_prv_bool;
#endif
#if zp_prv_hasbltin(__builtin_unreachable)
-#define zp_urch() ((void)__builtin_unreachable())
+#define zp_unrch() ((void)__builtin_unreachable())
#elif zp_imp_msvc
-#define zp_urch() ((void)__assume(0x0))
+#define zp_unrch() ((void)__assume(0x0))
#else
-#define zp_urch() (zp_trp())
+#define zp_unrch() (zp_trp())
#endif
#if zp_prv_hasatr(__warn_unused_result__)
diff --git a/zp/include/zp/imp/mem.ii b/zp/include/zp/imp/mem.ii
index 2b7142f..1c2f718 100644
--- a/zp/include/zp/imp/mem.ii
+++ b/zp/include/zp/imp/mem.ii
@@ -51,7 +51,7 @@ template<typename buftyp,typename valtyp> constexpr auto zp::srh(buftyp * buf,va
while (buf != stp) {
buftyp * const addr = buf++;
- zp_ulik (*addr == val) {return addr;}
+ zp_unlik (*addr == val) {return addr;}
}
return nullptr;
diff --git a/zp/include/zp/mth b/zp/include/zp/mth
index 47959a3..2dd6ff4 100644
--- a/zp/include/zp/mth
+++ b/zp/include/zp/mth
@@ -104,157 +104,157 @@ namespace zp {
}
#endif
- zp_iln zp_nthw zp_useq zp_useres inline double isnan(double const val) {return zp_isnand( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long isnan(double long const val) {return zp_isnandl(val);}
- zp_iln zp_nthw zp_useq zp_useres inline float isnan(float const val) {return zp_isnanf( val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float abs(float const val) {return ::zp_absf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double abs(double const val) {return ::zp_absd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long abs(double long const val) {return ::zp_absdl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float acos(float const val) {return ::zp_acosf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double acos(double const val) {return ::zp_acosd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long acos(double long const val) {return ::zp_acosdl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float zp_acot(float const val) {return ::zp_acotf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double zp_acot(double const val) {return ::zp_acotd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long zp_acot(double long const val) {return ::zp_acotdl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float zp_acsc(float const val) {return ::zp_acscf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double zp_acsc(double const val) {return ::zp_acscd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long zp_acsc(double long const val) {return ::zp_acscdl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float asec(float const val) {return ::zp_asecf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double asec(double const val) {return ::zp_asecd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long asec(double long const val) {return ::zp_asecdl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float asin(float const val) {return ::zp_asinf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double asin(double const val) {return ::zp_asind( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long asin(double long const val) {return ::zp_asindl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float atan(float const val) {return ::zp_atanf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double atan(double const val) {return ::zp_atand( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long atan(double long const val) {return ::zp_atandl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float atan2(float const y,float const x) {return ::zp_atan2f( y,x);}
- zp_iln zp_nthw zp_useq zp_useres inline double atan2(double const y,double const x) {return ::zp_atan2d( y,x);}
- zp_iln zp_nthw zp_useq zp_useres inline double long atan2(double long const y,double long const x) {return ::zp_atan2dl(y,x);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float cbrt(float const val) {return ::zp_cbrtf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double cbrt(double const val) {return ::zp_cbrtd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long cbrt(double long const val) {return ::zp_cbrtdl(val);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float cos(float const ang) {return ::zp_cosf( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double cos(double const ang) {return ::zp_cosd( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double long cos(double long const ang) {return ::zp_cosdl(ang);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float cot(float const ang) {return ::zp_cotf( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double cot(double const ang) {return ::zp_cotd( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double long cot(double long const ang) {return ::zp_cotdl(ang);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float csc(float const ang) {return ::zp_cscf( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double csc(double const ang) {return ::zp_cscd( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double long csc(double long const ang) {return ::zp_cscdl(ang);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float dist2(float const x,float const y) {return ::zp_dst2f( x,y);}
- zp_iln zp_nthw zp_useq zp_useres inline double dist2(double const x,double const y) {return ::zp_dst2d( x,y);}
- zp_iln zp_nthw zp_useq zp_useres inline double long dist2(double long const x,double long const y) {return ::zp_dst2dl(x,y);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float dist3(float const x,float const y,float const z) {return ::zp_dst3f( x,y,z);}
- zp_iln zp_nthw zp_useq zp_useres inline double dist3(double const x,double const y,double const z) {return ::zp_dst3d( x,y,z);}
- zp_iln zp_nthw zp_useq zp_useres inline double long dist3(double long const x,double long const y,double long const z) {return ::zp_dst3dl(x,y,z);}
-
- zp_iln zp_nthw zp_useq zp_useres inline float dist4(float const x,float const y,float const z,float w) {return ::zp_dst4f( x,y,z,w);}
- zp_iln zp_nthw zp_useq zp_useres inline double dist4(double const x,double const y,double const z,double w) {return ::zp_dst4d( x,y,z,w);}
- zp_iln zp_nthw zp_useq zp_useres inline double long dist4(double long const x,double long const y,double long const z,double long w) {return ::zp_dst4dl(x,y,z,w);}
-
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::divmodres<char signed> divmod(char signed const num,char signed den);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::divmodres<short> divmod(short const num,short den);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::divmodres<int> divmod(int const num,int den);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::divmodres<long> divmod(long const num,long den);
+ zp_iln zp_nthw zp_unseq zp_useres inline double isnan(double const val) {return zp_isnand( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long isnan(double long const val) {return zp_isnandl(val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float isnan(float const val) {return zp_isnanf( val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float abs(float const val) {return ::zp_absf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double abs(double const val) {return ::zp_absd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long abs(double long const val) {return ::zp_absdl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float acos(float const val) {return ::zp_acosf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double acos(double const val) {return ::zp_acosd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long acos(double long const val) {return ::zp_acosdl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float zp_acot(float const val) {return ::zp_acotf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double zp_acot(double const val) {return ::zp_acotd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long zp_acot(double long const val) {return ::zp_acotdl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float zp_acsc(float const val) {return ::zp_acscf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double zp_acsc(double const val) {return ::zp_acscd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long zp_acsc(double long const val) {return ::zp_acscdl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float asec(float const val) {return ::zp_asecf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double asec(double const val) {return ::zp_asecd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long asec(double long const val) {return ::zp_asecdl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float asin(float const val) {return ::zp_asinf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double asin(double const val) {return ::zp_asind( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long asin(double long const val) {return ::zp_asindl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float atan(float const val) {return ::zp_atanf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double atan(double const val) {return ::zp_atand( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long atan(double long const val) {return ::zp_atandl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float atan2(float const y,float const x) {return ::zp_atan2f( y,x);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double atan2(double const y,double const x) {return ::zp_atan2d( y,x);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long atan2(double long const y,double long const x) {return ::zp_atan2dl(y,x);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float cbrt(float const val) {return ::zp_cbrtf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double cbrt(double const val) {return ::zp_cbrtd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long cbrt(double long const val) {return ::zp_cbrtdl(val);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float cos(float const ang) {return ::zp_cosf( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double cos(double const ang) {return ::zp_cosd( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long cos(double long const ang) {return ::zp_cosdl(ang);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float cot(float const ang) {return ::zp_cotf( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double cot(double const ang) {return ::zp_cotd( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long cot(double long const ang) {return ::zp_cotdl(ang);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float csc(float const ang) {return ::zp_cscf( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double csc(double const ang) {return ::zp_cscd( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long csc(double long const ang) {return ::zp_cscdl(ang);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float dist2(float const x,float const y) {return ::zp_dst2f( x,y);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double dist2(double const x,double const y) {return ::zp_dst2d( x,y);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long dist2(double long const x,double long const y) {return ::zp_dst2dl(x,y);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float dist3(float const x,float const y,float const z) {return ::zp_dst3f( x,y,z);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double dist3(double const x,double const y,double const z) {return ::zp_dst3d( x,y,z);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long dist3(double long const x,double long const y,double long const z) {return ::zp_dst3dl(x,y,z);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline float dist4(float const x,float const y,float const z,float w) {return ::zp_dst4f( x,y,z,w);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double dist4(double const x,double const y,double const z,double w) {return ::zp_dst4d( x,y,z,w);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long dist4(double long const x,double long const y,double long const z,double long w) {return ::zp_dst4dl(x,y,z,w);}
+
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::divmodres<char signed> divmod(char signed const num,char signed den);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::divmodres<short> divmod(short const num,short den);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::divmodres<int> divmod(int const num,int den);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::divmodres<long> divmod(long const num,long den);
#if zp_std_c99 || zp_std_cxx11
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::divmodres<long long> divmodl(long long const num,long long den);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::divmodres<long long> divmodl(long long const num,long long den);
#endif
- zp_iln zp_nthw zp_useq zp_useres inline float dot2(::zp::vec2<float> const lvec,::zp::vec2<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline double dot2(::zp::vec2<double> const lvec,::zp::vec2<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline double long dot2(::zp::vec2<double long> const lvec,::zp::vec2<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline float dot2(::zp::vec2<float> const lvec,::zp::vec2<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline double dot2(::zp::vec2<double> const lvec,::zp::vec2<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline double long dot2(::zp::vec2<double long> const lvec,::zp::vec2<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline float dot3(::zp::vec3<float> const lvec,::zp::vec3<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline double dot3(::zp::vec3<double> const lvec,::zp::vec3<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline double long dot3(::zp::vec3<double long> const lvec,::zp::vec3<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline float dot3(::zp::vec3<float> const lvec,::zp::vec3<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline double dot3(::zp::vec3<double> const lvec,::zp::vec3<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline double long dot3(::zp::vec3<double long> const lvec,::zp::vec3<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline float dot4(::zp::vec4<float> const lvec,::zp::vec4<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline double dot4(::zp::vec4<double> const lvec,::zp::vec4<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline double long dot4(::zp::vec4<double long> const lvec,::zp::vec4<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline float dot4(::zp::vec4<float> const lvec,::zp::vec4<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline double dot4(::zp::vec4<double> const lvec,::zp::vec4<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline double long dot4(::zp::vec4<double long> const lvec,::zp::vec4<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline float exp(float const val,float n) {return ::zp_expf( val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline double exp(double const val,double n) {return ::zp_expd( val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline double long exp(double long const val,double long n) {return ::zp_expdl(val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float exp(float const val,float n) {return ::zp_expf( val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double exp(double const val,double n) {return ::zp_expd( val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long exp(double long const val,double long n) {return ::zp_expdl(val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline float lb(float const val) {return ::zp_lbf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double lb(double const val) {return ::zp_lbd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long lb(double long const val) {return ::zp_lbdl(val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float lb(float const val) {return ::zp_lbf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double lb(double const val) {return ::zp_lbd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long lb(double long const val) {return ::zp_lbdl(val);}
- zp_iln zp_nthw zp_useq zp_useres inline float lg(float const val) {return ::zp_lgf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double lg(double const val) {return ::zp_lgd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long lg(double long const val) {return ::zp_lgdl(val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float lg(float const val) {return ::zp_lgf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double lg(double const val) {return ::zp_lgd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long lg(double long const val) {return ::zp_lgdl(val);}
- zp_iln zp_nthw zp_useq zp_useres inline float ln(float const val) {return ::zp_lnf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double ln(double const val) {return ::zp_lnd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long ln(double long const val) {return ::zp_lndl(val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float ln(float const val) {return ::zp_lnf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double ln(double const val) {return ::zp_lnd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long ln(double long const val) {return ::zp_lndl(val);}
- zp_iln zp_nthw zp_useq zp_useres inline float log(float const val,float n) {return ::zp_logf( val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline double log(double const val,double n) {return ::zp_logd( val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline double long log(double long const val,double long n) {return ::zp_logdl(val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float log(float const val,float n) {return ::zp_logf( val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double log(double const val,double n) {return ::zp_logd( val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long log(double long const val,double long n) {return ::zp_logdl(val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline float nrt(float const val,float n) {return ::zp_nrtf( val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline double nrt(double const val,double n) {return ::zp_nrtd( val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline double long nrt(double long const val,double long n) {return ::zp_nrtdl(val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float nrt(float const val,float n) {return ::zp_nrtf( val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double nrt(double const val,double n) {return ::zp_nrtd( val,n);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long nrt(double long const val,double long n) {return ::zp_nrtdl(val,n);}
- zp_iln zp_nthw zp_useq zp_useres inline float sec(float const ang) {return ::zp_secf( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double sec(double const ang) {return ::zp_secd( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double long sec(double long const ang) {return ::zp_secdl(ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float sec(float const ang) {return ::zp_secf( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double sec(double const ang) {return ::zp_secd( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long sec(double long const ang) {return ::zp_secdl(ang);}
- zp_iln zp_nthw zp_useq zp_useres inline float sin(float const ang) {return ::zp_sinf( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double sin(double const ang) {return ::zp_sind( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double long sin(double long const ang) {return ::zp_sindl(ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float sin(float const ang) {return ::zp_sinf( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double sin(double const ang) {return ::zp_sind( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long sin(double long const ang) {return ::zp_sindl(ang);}
- zp_iln zp_nthw zp_useq zp_useres inline float sqrt(float const val) {return ::zp_sqrtf( val);;}
- zp_iln zp_nthw zp_useq zp_useres inline double sqrt(double const val) {return ::zp_sqrtd( val);;}
- zp_iln zp_nthw zp_useq zp_useres inline double long sqrt(double long const val) {return ::zp_sqrtdl(val);;}
+ zp_iln zp_nthw zp_unseq zp_useres inline float sqrt(float const val) {return ::zp_sqrtf( val);;}
+ zp_iln zp_nthw zp_unseq zp_useres inline double sqrt(double const val) {return ::zp_sqrtd( val);;}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long sqrt(double long const val) {return ::zp_sqrtdl(val);;}
- zp_iln zp_nthw zp_useq zp_useres inline float tan(float const ang) {return ::zp_tanf( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double tan(double const ang) {return ::zp_tand( ang);}
- zp_iln zp_nthw zp_useq zp_useres inline double long tan(double long const ang) {return ::zp_tandl(ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float tan(float const ang) {return ::zp_tanf( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double tan(double const ang) {return ::zp_tand( ang);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long tan(double long const ang) {return ::zp_tandl(ang);}
- zp_iln zp_nthw zp_useq zp_useres inline float tsrt(float const val) {return ::zp_tsrtf( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double tsrt(double const val) {return ::zp_tsrtd( val);}
- zp_iln zp_nthw zp_useq zp_useres inline double long tsrt(double long const val) {return ::zp_tsrtdl(val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline float tsrt(float const val) {return ::zp_tsrtf( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double tsrt(double const val) {return ::zp_tsrtd( val);}
+ zp_iln zp_nthw zp_unseq zp_useres inline double long tsrt(double long const val) {return ::zp_tsrtdl(val);}
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec2<float> vadd2f( ::zp::vec2<float> const lvec,::zp::vec2<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec2<double> vadd2d( ::zp::vec2<double> const lvec,::zp::vec2<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec2<double long> vadd2dl(::zp::vec2<double long> const lvec,::zp::vec2<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec2<float> vadd2f( ::zp::vec2<float> const lvec,::zp::vec2<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec2<double> vadd2d( ::zp::vec2<double> const lvec,::zp::vec2<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec2<double long> vadd2dl(::zp::vec2<double long> const lvec,::zp::vec2<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec3<float> vadd3f( ::zp::vec3<float> const lvec,::zp::vec3<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec3<double> vadd3d( ::zp::vec3<double> const lvec,::zp::vec3<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec3<double long> vadd3dl(::zp::vec3<double long> const lvec,::zp::vec3<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec3<float> vadd3f( ::zp::vec3<float> const lvec,::zp::vec3<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec3<double> vadd3d( ::zp::vec3<double> const lvec,::zp::vec3<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec3<double long> vadd3dl(::zp::vec3<double long> const lvec,::zp::vec3<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec4<float> vadd4f( ::zp::vec4<float> const lvec,::zp::vec4<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec4<double> vadd4d( ::zp::vec4<double> const lvec,::zp::vec4<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec4<double long> vadd4dl(::zp::vec4<double long> const lvec,::zp::vec4<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec4<float> vadd4f( ::zp::vec4<float> const lvec,::zp::vec4<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec4<double> vadd4d( ::zp::vec4<double> const lvec,::zp::vec4<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec4<double long> vadd4dl(::zp::vec4<double long> const lvec,::zp::vec4<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec2<float> vsub2f( ::zp::vec2<float> const lvec,::zp::vec2<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec2<double> vsub2d( ::zp::vec2<double> const lvec,::zp::vec2<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec2<double long> vsub2dl(::zp::vec2<double long> const lvec,::zp::vec2<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec2<float> vsub2f( ::zp::vec2<float> const lvec,::zp::vec2<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec2<double> vsub2d( ::zp::vec2<double> const lvec,::zp::vec2<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec2<double long> vsub2dl(::zp::vec2<double long> const lvec,::zp::vec2<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec3<float> vsub3f( ::zp::vec3<float> const lvec,::zp::vec3<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec3<double> vsub3d( ::zp::vec3<double> const lvec,::zp::vec3<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec3<double long> vsub3dl(::zp::vec3<double long> const lvec,::zp::vec3<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec3<float> vsub3f( ::zp::vec3<float> const lvec,::zp::vec3<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec3<double> vsub3d( ::zp::vec3<double> const lvec,::zp::vec3<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec3<double long> vsub3dl(::zp::vec3<double long> const lvec,::zp::vec3<double long> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec4<float> vsub4f( ::zp::vec4<float> const lvec,::zp::vec4<float> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec4<double> vsub4d( ::zp::vec4<double> const lvec,::zp::vec4<double> const rvec);
- zp_iln zp_nthw zp_useq zp_useres inline ::zp::vec4<double long> vsub4dl(::zp::vec4<double long> const lvec,::zp::vec4<double long> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec4<float> vsub4f( ::zp::vec4<float> const lvec,::zp::vec4<float> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec4<double> vsub4d( ::zp::vec4<double> const lvec,::zp::vec4<double> const rvec);
+ zp_iln zp_nthw zp_unseq zp_useres inline ::zp::vec4<double long> vsub4dl(::zp::vec4<double long> const lvec,::zp::vec4<double long> const rvec);
}
#endif
diff --git a/zp/include/zp/mth.h b/zp/include/zp/mth.h
index b272851..195497a 100644
--- a/zp/include/zp/mth.h
+++ b/zp/include/zp/mth.h
@@ -120,188 +120,188 @@ struct zp_vec4dl {
#define zp_isnanf( val) ((bool)((val) != (val)))
/* absolute */
-zp_nthw zp_useq zp_useres double zp_absd( double val);
-zp_nthw zp_useq zp_useres double long zp_absdl(double long val);
-zp_nthw zp_useq zp_useres float zp_absf( float val);
+zp_nthw zp_unseq zp_useres double zp_absd( double val);
+zp_nthw zp_unseq zp_useres double long zp_absdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_absf( float val);
/* arccosine */
-zp_nthw zp_useq zp_useres double zp_acosd( double val);
-zp_nthw zp_useq zp_useres double long zp_acosdl(double long val);
-zp_nthw zp_useq zp_useres float zp_acosf( float val);
+zp_nthw zp_unseq zp_useres double zp_acosd( double val);
+zp_nthw zp_unseq zp_useres double long zp_acosdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_acosf( float val);
/* arccotangent */
-zp_nthw zp_useq zp_useres double zp_acotd( double val);
-zp_nthw zp_useq zp_useres double long zp_acotdl(double long val);
-zp_nthw zp_useq zp_useres float zp_acotf( float val);
+zp_nthw zp_unseq zp_useres double zp_acotd( double val);
+zp_nthw zp_unseq zp_useres double long zp_acotdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_acotf( float val);
/* arccosecant */
-zp_nthw zp_useq zp_useres double zp_acscd( double val);
-zp_nthw zp_useq zp_useres double long zp_acscdl(double long val);
-zp_nthw zp_useq zp_useres float zp_acscf( float val);
+zp_nthw zp_unseq zp_useres double zp_acscd( double val);
+zp_nthw zp_unseq zp_useres double long zp_acscdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_acscf( float val);
/* arcsecant */
-zp_nthw zp_useq zp_useres double zp_asecd( double val);
-zp_nthw zp_useq zp_useres double long zp_asecdl(double long val);
-zp_nthw zp_useq zp_useres float zp_asecf( float val);
+zp_nthw zp_unseq zp_useres double zp_asecd( double val);
+zp_nthw zp_unseq zp_useres double long zp_asecdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_asecf( float val);
/* arcsine */
-zp_nthw zp_useq zp_useres double zp_asind( double val);
-zp_nthw zp_useq zp_useres double long zp_asindl(double long val);
-zp_nthw zp_useq zp_useres float zp_asinf( float val);
+zp_nthw zp_unseq zp_useres double zp_asind( double val);
+zp_nthw zp_unseq zp_useres double long zp_asindl(double long val);
+zp_nthw zp_unseq zp_useres float zp_asinf( float val);
/* arctangens */
-zp_nthw zp_useq zp_useres double zp_atand( double val);
-zp_nthw zp_useq zp_useres double long zp_atandl(double long val);
-zp_nthw zp_useq zp_useres float zp_atanf( float val);
+zp_nthw zp_unseq zp_useres double zp_atand( double val);
+zp_nthw zp_unseq zp_useres double long zp_atandl(double long val);
+zp_nthw zp_unseq zp_useres float zp_atanf( float val);
/* arctangens 2 */
-zp_nthw zp_useq zp_useres double zp_atan2d( double y,double x);
-zp_nthw zp_useq zp_useres double long zp_atan2dl(double long y,double long x);
-zp_nthw zp_useq zp_useres float zp_atan2f( float y,float x);
+zp_nthw zp_unseq zp_useres double zp_atan2d( double y,double x);
+zp_nthw zp_unseq zp_useres double long zp_atan2dl(double long y,double long x);
+zp_nthw zp_unseq zp_useres float zp_atan2f( float y,float x);
/* cube root */
-zp_nthw zp_useq zp_useres double zp_cbrtd( double val);
-zp_nthw zp_useq zp_useres double long zp_cbrtdl(double long val);
-zp_nthw zp_useq zp_useres float zp_cbrtf( float val);
+zp_nthw zp_unseq zp_useres double zp_cbrtd( double val);
+zp_nthw zp_unseq zp_useres double long zp_cbrtdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_cbrtf( float val);
/* cosine */
-zp_nthw zp_useq zp_useres double zp_cosd( double ang);
-zp_nthw zp_useq zp_useres double long zp_cosdl(double long ang);
-zp_nthw zp_useq zp_useres float zp_cosf( float ang);
+zp_nthw zp_unseq zp_useres double zp_cosd( double ang);
+zp_nthw zp_unseq zp_useres double long zp_cosdl(double long ang);
+zp_nthw zp_unseq zp_useres float zp_cosf( float ang);
/* cotangent */
-zp_nthw zp_useq zp_useres double zp_cotd( double ang);
-zp_nthw zp_useq zp_useres double long zp_cotdl(double long ang);
-zp_nthw zp_useq zp_useres float zp_cotf( float ang);
+zp_nthw zp_unseq zp_useres double zp_cotd( double ang);
+zp_nthw zp_unseq zp_useres double long zp_cotdl(double long ang);
+zp_nthw zp_unseq zp_useres float zp_cotf( float ang);
/* cosecant */
-zp_nthw zp_useq zp_useres double zp_cscd( double ang);
-zp_nthw zp_useq zp_useres double long zp_cscdl(double long ang);
-zp_nthw zp_useq zp_useres float zp_cscf( float ang);
+zp_nthw zp_unseq zp_useres double zp_cscd( double ang);
+zp_nthw zp_unseq zp_useres double long zp_cscdl(double long ang);
+zp_nthw zp_unseq zp_useres float zp_cscf( float ang);
/* two-space distance */
-zp_nthw zp_useq zp_useres double zp_dst2d( double x,double y);
-zp_nthw zp_useq zp_useres double long zp_dst2dl(double long x,double long y);
-zp_nthw zp_useq zp_useres float zp_dst2f( float x,float y);
+zp_nthw zp_unseq zp_useres double zp_dst2d( double x,double y);
+zp_nthw zp_unseq zp_useres double long zp_dst2dl(double long x,double long y);
+zp_nthw zp_unseq zp_useres float zp_dst2f( float x,float y);
/* three-space distance */
-zp_nthw zp_useq zp_useres double zp_dst3d( double x,double y,double z);
-zp_nthw zp_useq zp_useres double long zp_dst3dl(double long x,double long y,double long z);
-zp_nthw zp_useq zp_useres float zp_dst3f( float x,float y,float z);
+zp_nthw zp_unseq zp_useres double zp_dst3d( double x,double y,double z);
+zp_nthw zp_unseq zp_useres double long zp_dst3dl(double long x,double long y,double long z);
+zp_nthw zp_unseq zp_useres float zp_dst3f( float x,float y,float z);
/* four-space distance */
-zp_nthw zp_useq zp_useres double zp_dst4d( double x,double y,double z,double w);
-zp_nthw zp_useq zp_useres double long zp_dst4dl(double long x,double long y,double long z,double long w);
-zp_nthw zp_useq zp_useres float zp_dst4f( float x,float y,float z,float w);
+zp_nthw zp_unseq zp_useres double zp_dst4d( double x,double y,double z,double w);
+zp_nthw zp_unseq zp_useres double long zp_dst4dl(double long x,double long y,double long z,double long w);
+zp_nthw zp_unseq zp_useres float zp_dst4f( float x,float y,float z,float w);
/* division-modulo */
-zp_nthw zp_useq zp_useres struct divmodressc zp_divmodsc(char signed num,char signed den);
-zp_nthw zp_useq zp_useres struct divmodress zp_divmods( short num,short den);
-zp_nthw zp_useq zp_useres struct divmodresi zp_divmodi( int num,int den);
-zp_nthw zp_useq zp_useres struct divmodresl zp_divmodl( long num,long den);
+zp_nthw zp_unseq zp_useres struct divmodressc zp_divmodsc(char signed num,char signed den);
+zp_nthw zp_unseq zp_useres struct divmodress zp_divmods( short num,short den);
+zp_nthw zp_unseq zp_useres struct divmodresi zp_divmodi( int num,int den);
+zp_nthw zp_unseq zp_useres struct divmodresl zp_divmodl( long num,long den);
#if zp_std_c99 || zp_std_cxx11
-zp_nthw zp_useq zp_useres struct divmodresll zp_divmodll(long long num,long long den);
+zp_nthw zp_unseq zp_useres struct divmodresll zp_divmodll(long long num,long long den);
#endif
/* two-space dot product */
-zp_nthw zp_useq zp_useres float zp_dot2f( zp_vec2f lvec,zp_vec2f rvec);
-zp_nthw zp_useq zp_useres double zp_dot2d( zp_vec2d lvec,zp_vec2d rvec);
-zp_nthw zp_useq zp_useres double long zp_dot2dl(zp_vec2dl lvec,zp_vec2dl rvec);
+zp_nthw zp_unseq zp_useres float zp_dot2f( zp_vec2f lvec,zp_vec2f rvec);
+zp_nthw zp_unseq zp_useres double zp_dot2d( zp_vec2d lvec,zp_vec2d rvec);
+zp_nthw zp_unseq zp_useres double long zp_dot2dl(zp_vec2dl lvec,zp_vec2dl rvec);
/* three-space dot product */
-zp_nthw zp_useq zp_useres float zp_dot3f( zp_vec3f lvec,zp_vec3f rvec);
-zp_nthw zp_useq zp_useres double zp_dot3d( zp_vec3d lvec,zp_vec3d rvec);
-zp_nthw zp_useq zp_useres double long zp_dot3dl(zp_vec3dl lvec,zp_vec3dl rvec);
+zp_nthw zp_unseq zp_useres float zp_dot3f( zp_vec3f lvec,zp_vec3f rvec);
+zp_nthw zp_unseq zp_useres double zp_dot3d( zp_vec3d lvec,zp_vec3d rvec);
+zp_nthw zp_unseq zp_useres double long zp_dot3dl(zp_vec3dl lvec,zp_vec3dl rvec);
/* four-space dot product */
-zp_nthw zp_useq zp_useres float zp_dot4f( zp_vec4f lvec,zp_vec4f rvec);
-zp_nthw zp_useq zp_useres double zp_dot4d( zp_vec4d lvec,zp_vec4d rvec);
-zp_nthw zp_useq zp_useres double long zp_dot4dl(zp_vec4dl lvec,zp_vec4dl rvec);
+zp_nthw zp_unseq zp_useres float zp_dot4f( zp_vec4f lvec,zp_vec4f rvec);
+zp_nthw zp_unseq zp_useres double zp_dot4d( zp_vec4d lvec,zp_vec4d rvec);
+zp_nthw zp_unseq zp_useres double long zp_dot4dl(zp_vec4dl lvec,zp_vec4dl rvec);
/* exponentation */
-zp_nthw zp_useq zp_useres float zp_expd( float val,float n);
-zp_nthw zp_useq zp_useres double zp_expf( double val,double n);
-zp_nthw zp_useq zp_useres double long zp_expdl(double long val,double long n);
+zp_nthw zp_unseq zp_useres float zp_expd( float val,float n);
+zp_nthw zp_unseq zp_useres double zp_expf( double val,double n);
+zp_nthw zp_unseq zp_useres double long zp_expdl(double long val,double long n);
/* binary logarithm */
-zp_nthw zp_useq zp_useres double zp_lbd( double val);
-zp_nthw zp_useq zp_useres double long zp_lbdl(double long val);
-zp_nthw zp_useq zp_useres float zp_lbf( float val);
+zp_nthw zp_unseq zp_useres double zp_lbd( double val);
+zp_nthw zp_unseq zp_useres double long zp_lbdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_lbf( float val);
/* common logarithm */
-zp_nthw zp_useq zp_useres double zp_lgd( double val);
-zp_nthw zp_useq zp_useres double long zp_lgdl(double long val);
-zp_nthw zp_useq zp_useres float zp_lgf( float val);
+zp_nthw zp_unseq zp_useres double zp_lgd( double val);
+zp_nthw zp_unseq zp_useres double long zp_lgdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_lgf( float val);
/* natual logarithm */
-zp_nthw zp_useq zp_useres double zp_lnd( double val);
-zp_nthw zp_useq zp_useres double long zp_lndl(double long val);
-zp_nthw zp_useq zp_useres float zp_lnf( float val);
+zp_nthw zp_unseq zp_useres double zp_lnd( double val);
+zp_nthw zp_unseq zp_useres double long zp_lndl(double long val);
+zp_nthw zp_unseq zp_useres float zp_lnf( float val);
/* logarithm */
-zp_nthw zp_useq zp_useres double zp_logd( double val,double n);
-zp_nthw zp_useq zp_useres double long zp_logdl(double long val,double long n);
-zp_nthw zp_useq zp_useres float zp_logf( float val,float n);
+zp_nthw zp_unseq zp_useres double zp_logd( double val,double n);
+zp_nthw zp_unseq zp_useres double long zp_logdl(double long val,double long n);
+zp_nthw zp_unseq zp_useres float zp_logf( float val,float n);
/* nth root */
-zp_nthw zp_useq zp_useres double zp_nrtd( double val,double n);
-zp_nthw zp_useq zp_useres double long zp_nrtdl(double long val,double long n);
-zp_nthw zp_useq zp_useres float zp_nrtf( float val,float n);
+zp_nthw zp_unseq zp_useres double zp_nrtd( double val,double n);
+zp_nthw zp_unseq zp_useres double long zp_nrtdl(double long val,double long n);
+zp_nthw zp_unseq zp_useres float zp_nrtf( float val,float n);
/* secant */
-zp_nthw zp_useq zp_useres double zp_secd( double ang);
-zp_nthw zp_useq zp_useres double long zp_secdl(double long ang);
-zp_nthw zp_useq zp_useres float zp_secf( float ang);
+zp_nthw zp_unseq zp_useres double zp_secd( double ang);
+zp_nthw zp_unseq zp_useres double long zp_secdl(double long ang);
+zp_nthw zp_unseq zp_useres float zp_secf( float ang);
/* sine */
-zp_nthw zp_useq zp_useres double zp_sind( double ang);
-zp_nthw zp_useq zp_useres double long zp_sindl(double long ang);
-zp_nthw zp_useq zp_useres float zp_sinf( float ang);
+zp_nthw zp_unseq zp_useres double zp_sind( double ang);
+zp_nthw zp_unseq zp_useres double long zp_sindl(double long ang);
+zp_nthw zp_unseq zp_useres float zp_sinf( float ang);
/* square root */
-zp_nthw zp_useq zp_useres double zp_sqrtd( double val);
-zp_nthw zp_useq zp_useres double long zp_sqrtdl(double long val);
-zp_nthw zp_useq zp_useres float zp_sqrtf( float val);
+zp_nthw zp_unseq zp_useres double zp_sqrtd( double val);
+zp_nthw zp_unseq zp_useres double long zp_sqrtdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_sqrtf( float val);
/* tangens */
-zp_nthw zp_useq zp_useres double zp_tand( double ang);
-zp_nthw zp_useq zp_useres double long zp_tandl(double long ang);
-zp_nthw zp_useq zp_useres float zp_tanf( float ang);
+zp_nthw zp_unseq zp_useres double zp_tand( double ang);
+zp_nthw zp_unseq zp_useres double long zp_tandl(double long ang);
+zp_nthw zp_unseq zp_useres float zp_tanf( float ang);
/* "tesseract" (fourth) root */
-zp_nthw zp_useq zp_useres double zp_tsrtd( double val);
-zp_nthw zp_useq zp_useres double long zp_tsrtdl(double long val);
-zp_nthw zp_useq zp_useres float zp_tsrtf( float val);
+zp_nthw zp_unseq zp_useres double zp_tsrtd( double val);
+zp_nthw zp_unseq zp_useres double long zp_tsrtdl(double long val);
+zp_nthw zp_unseq zp_useres float zp_tsrtf( float val);
/* two-space vector addition */
-zp_nthw zp_useq zp_useres zp_vec2f zp_vadd2f( zp_vec2f lvec,zp_vec2f rvec);
-zp_nthw zp_useq zp_useres zp_vec2d zp_vadd2d( zp_vec2d lvec,zp_vec2d rvec);
-zp_nthw zp_useq zp_useres zp_vec2dl zp_vadd2dl(zp_vec2dl lvec,zp_vec2dl rvec);
+zp_nthw zp_unseq zp_useres zp_vec2f zp_vadd2f( zp_vec2f lvec,zp_vec2f rvec);
+zp_nthw zp_unseq zp_useres zp_vec2d zp_vadd2d( zp_vec2d lvec,zp_vec2d rvec);
+zp_nthw zp_unseq zp_useres zp_vec2dl zp_vadd2dl(zp_vec2dl lvec,zp_vec2dl rvec);
/* three-space vector addition */
-zp_nthw zp_useq zp_useres zp_vec3f zp_vadd3f( zp_vec3f lvec,zp_vec3f rvec);
-zp_nthw zp_useq zp_useres zp_vec3d zp_vadd3d( zp_vec3d lvec,zp_vec3d rvec);
-zp_nthw zp_useq zp_useres zp_vec3dl zp_vadd3dl(zp_vec3dl lvec,zp_vec3dl rvec);
+zp_nthw zp_unseq zp_useres zp_vec3f zp_vadd3f( zp_vec3f lvec,zp_vec3f rvec);
+zp_nthw zp_unseq zp_useres zp_vec3d zp_vadd3d( zp_vec3d lvec,zp_vec3d rvec);
+zp_nthw zp_unseq zp_useres zp_vec3dl zp_vadd3dl(zp_vec3dl lvec,zp_vec3dl rvec);
/* four-space vector addition */
-zp_nthw zp_useq zp_useres zp_vec4f zp_v4addf( zp_vec4f lvec,zp_vec4f rvec);
-zp_nthw zp_useq zp_useres zp_vec4d zp_v4addd( zp_vec4d lvec,zp_vec4d rvec);
-zp_nthw zp_useq zp_useres zp_vec4dl zp_v4adddl(zp_vec4dl lvec,zp_vec4dl rvec);
+zp_nthw zp_unseq zp_useres zp_vec4f zp_v4addf( zp_vec4f lvec,zp_vec4f rvec);
+zp_nthw zp_unseq zp_useres zp_vec4d zp_v4addd( zp_vec4d lvec,zp_vec4d rvec);
+zp_nthw zp_unseq zp_useres zp_vec4dl zp_v4adddl(zp_vec4dl lvec,zp_vec4dl rvec);
/* two-space vector subtraction */
-zp_nthw zp_useq zp_useres zp_vec2f zp_vsub2f( zp_vec2f lvec,zp_vec2f rvec);
-zp_nthw zp_useq zp_useres zp_vec2d zp_vsub2d( zp_vec2d lvec,zp_vec2d rvec);
-zp_nthw zp_useq zp_useres zp_vec2dl zp_vsub2dl(zp_vec2dl lvec,zp_vec2dl rvec);
+zp_nthw zp_unseq zp_useres zp_vec2f zp_vsub2f( zp_vec2f lvec,zp_vec2f rvec);
+zp_nthw zp_unseq zp_useres zp_vec2d zp_vsub2d( zp_vec2d lvec,zp_vec2d rvec);
+zp_nthw zp_unseq zp_useres zp_vec2dl zp_vsub2dl(zp_vec2dl lvec,zp_vec2dl rvec);
/* three-space vector subtraction */
-zp_nthw zp_useq zp_useres zp_vec3f zp_vsub3f( zp_vec3f lvec,zp_vec3f rvec);
-zp_nthw zp_useq zp_useres zp_vec3d zp_vsub3d( zp_vec3d lvec,zp_vec3d rvec);
-zp_nthw zp_useq zp_useres zp_vec3dl zp_vsub3dl(zp_vec3dl lvec,zp_vec3dl rvec);
+zp_nthw zp_unseq zp_useres zp_vec3f zp_vsub3f( zp_vec3f lvec,zp_vec3f rvec);
+zp_nthw zp_unseq zp_useres zp_vec3d zp_vsub3d( zp_vec3d lvec,zp_vec3d rvec);
+zp_nthw zp_unseq zp_useres zp_vec3dl zp_vsub3dl(zp_vec3dl lvec,zp_vec3dl rvec);
/* four-space vector subtraction */
-zp_nthw zp_useq zp_useres zp_vec4f zp_v4subf( zp_vec4f lvec,zp_vec4f rvec);
-zp_nthw zp_useq zp_useres zp_vec4d zp_v4subd( zp_vec4d lvec,zp_vec4d rvec);
-zp_nthw zp_useq zp_useres zp_vec4dl zp_v4subdl(zp_vec4dl lvec,zp_vec4dl rvec);
+zp_nthw zp_unseq zp_useres zp_vec4f zp_v4subf( zp_vec4f lvec,zp_vec4f rvec);
+zp_nthw zp_unseq zp_useres zp_vec4d zp_v4subd( zp_vec4d lvec,zp_vec4d rvec);
+zp_nthw zp_unseq zp_useres zp_vec4dl zp_v4subdl(zp_vec4dl lvec,zp_vec4dl rvec);
zp_prv_cdeclend
diff --git a/zp/source/any/bas/syscal.c b/zp/source/any/bas/syscal.c
index 6efa3e9..d9c778f 100644
--- a/zp/source/any/bas/syscal.c
+++ b/zp/source/any/bas/syscal.c
@@ -7,5 +7,5 @@
#include <zp/bas.h>
zp_syscalres zp_syscal(zp_nuse zp_syscalidt idt,...) {
- zp_urch(); /* Unsupported. */
+ zp_unrch(); /* Unsupported. */
}
diff --git a/zp/source/any/mem/memsrh.c b/zp/source/any/mem/memsrh.c
index e85b229..1009962 100644
--- a/zp/source/any/mem/memsrh.c
+++ b/zp/source/any/mem/memsrh.c
@@ -14,7 +14,7 @@ void * zp_memsrh(void const * const bufptr,char unsigned const val,zp_siz const
while (buf != stp) {
char unsigned const * const addr = buf++;
- zp_ulik (*addr == val) {return (char unsigned *)addr;}
+ zp_unlik (*addr == val) {return (char unsigned *)addr;}
}
return zp_nulptr;
diff --git a/zp/source/any/str/utf16dec.c b/zp/source/any/str/utf16dec.c
index abc15f2..b0c98db 100644
--- a/zp/source/any/str/utf16dec.c
+++ b/zp/source/any/str/utf16dec.c
@@ -22,6 +22,6 @@ void zp_utf16dec(zp_c02 * dst,zp_c01 const * src) {
*dst = hex;
- zp_ulik (hex == 0x0u) {break;}
+ zp_unlik (hex == 0x0u) {break;}
}
}
diff --git a/zp/source/any/str/utf16declen.c b/zp/source/any/str/utf16declen.c
index f40aab0..adfe3cf 100644
--- a/zp/source/any/str/utf16declen.c
+++ b/zp/source/any/str/utf16declen.c
@@ -17,7 +17,7 @@ zp_siz zp_utf16declen(zp_c01 const * str) {
continue;
}
- zp_ulik (hex == 0x0u) {break;}
+ zp_unlik (hex == 0x0u) {break;}
++str;
}
diff --git a/zp/source/any/str/utf16enc.c b/zp/source/any/str/utf16enc.c
index 5c393aa..0259214 100644
--- a/zp/source/any/str/utf16enc.c
+++ b/zp/source/any/str/utf16enc.c
@@ -22,6 +22,6 @@ void zp_utf16enc(zp_c01 * dst,zp_c02 const * src) {
/* One hextet. */
*dst++ = chr;
- zp_ulik (chr == 0x0u) {break;}
+ zp_unlik (chr == 0x0u) {break;}
}
}
diff --git a/zp/source/any/str/utf16enclen.c b/zp/source/any/str/utf16enclen.c
index 3f50519..803e224 100644
--- a/zp/source/any/str/utf16enclen.c
+++ b/zp/source/any/str/utf16enclen.c
@@ -17,7 +17,7 @@ zp_siz zp_utf16enclen(zp_c02 const * str) {
continue;
}
- zp_ulik (chr == 0x0u) {break;}
+ zp_unlik (chr == 0x0u) {break;}
++len;
}
diff --git a/zp/source/any/str/utf8dec.c b/zp/source/any/str/utf8dec.c
index 8c26586..60fd475 100644
--- a/zp/source/any/str/utf8dec.c
+++ b/zp/source/any/str/utf8dec.c
@@ -47,6 +47,6 @@ void zp_utf8dec(zp_c02 * dst,zp_c8 const * src) {
*dst = oct;
++src;
- zp_ulik (oct == 0x0u) {break;}
+ zp_unlik (oct == 0x0u) {break;}
}
}
diff --git a/zp/source/any/str/utf8declen.c b/zp/source/any/str/utf8declen.c
index bde4a74..58c4634 100644
--- a/zp/source/any/str/utf8declen.c
+++ b/zp/source/any/str/utf8declen.c
@@ -12,7 +12,7 @@ zp_siz zp_utf8declen(zp_c8 const * str) {
for (;;++len) {
zp_c8 const oct = *str;
- zp_ulik (oct == 0x0u) {break;}
+ zp_unlik (oct == 0x0u) {break;}
if (oct >= 0xF0u) {
str += 0x4u;
diff --git a/zp/source/any/str/utf8enc.c b/zp/source/any/str/utf8enc.c
index fa64466..b3a8f86 100644
--- a/zp/source/any/str/utf8enc.c
+++ b/zp/source/any/str/utf8enc.c
@@ -37,6 +37,6 @@ void zp_utf8enc(zp_c8 * dst,zp_c02 const * src) {
/* One octet. */
*dst++ = chr;
- zp_ulik (chr == 0x0u) {break;}
+ zp_unlik (chr == 0x0u) {break;}
}
}
diff --git a/zp/source/any/str/utf8enclen.c b/zp/source/any/str/utf8enclen.c
index c580027..1f98ac2 100644
--- a/zp/source/any/str/utf8enclen.c
+++ b/zp/source/any/str/utf8enclen.c
@@ -27,7 +27,7 @@ zp_siz zp_utf8enclen(zp_c02 const * str) {
continue;
}
- zp_ulik (chr == 0x0u) {break;}
+ zp_unlik (chr == 0x0u) {break;}
++len;
}