mirror of https://gitlab.com/rnger/amath
Update copyright
This commit is contained in:
parent
6eb56b056e
commit
9e712377a4
2
LICENSE
2
LICENSE
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
Copyright (c) 2007 The NetBSD Foundation, Inc.
|
Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
Copyright (c) 1990, 1993 The Regents of the University of California.
|
Copyright (c) 1990, 1993 The Regents of the University of California.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
6
amath.1
6
amath.1
|
@ -1,6 +1,6 @@
|
||||||
.\" Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
.\" Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
.\" Redistribution and use in source and binary forms, with or without
|
.\" Redistribution and use in source and binary forms, with or without
|
||||||
.\" modification, are permitted provided that the following conditions
|
.\" modification, are permitted provided that the following conditions
|
||||||
.\" are met:
|
.\" are met:
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||||
.\" notice, this list of conditions and the following disclaimer in the
|
.\" notice, this list of conditions and the following disclaimer in the
|
||||||
.\" documentation and/or other materials provided with the distribution.
|
.\" documentation and/or other materials provided with the distribution.
|
||||||
.\"
|
.\"
|
||||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
|
16
builddeb
16
builddeb
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright {c} 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
# Copyright {c} 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
# are met:
|
# are met:
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
# notice, this list of conditions and the following disclaimer in the
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
# documentation and/or other materials provided with the distribution.
|
# documentation and/or other materials provided with the distribution.
|
||||||
#
|
#
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
@ -23,10 +23,10 @@
|
||||||
# LIABILITY, OR TORT {INCLUDING NEGLIGENCE OR OTHERWISE} ARISING IN ANY WAY
|
# LIABILITY, OR TORT {INCLUDING NEGLIGENCE OR OTHERWISE} ARISING IN ANY WAY
|
||||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
# SUCH DAMAGE.
|
# SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
# Project homepage:
|
# Project homepage:
|
||||||
# https://amath.innolan.net
|
# https://amath.innolan.net
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -103,9 +103,9 @@ chmod 0755 amath/DEBIAN/control
|
||||||
echo "Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/"
|
echo "Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/"
|
||||||
echo "Upstream-Name: amath"
|
echo "Upstream-Name: amath"
|
||||||
echo "Source: https://amath.innolan.net"
|
echo "Source: https://amath.innolan.net"
|
||||||
echo
|
echo
|
||||||
echo "Files: *"
|
echo "Files: *"
|
||||||
echo "Copyright: 2014-2018 Carsten Sonne Larsen <cs@innolan.net>"
|
echo "Copyright: 2014-2021 Carsten Sonne Larsen <cs@innolan.net>"
|
||||||
echo " 2007 The NetBSD Foundation, Inc."
|
echo " 2007 The NetBSD Foundation, Inc."
|
||||||
echo " 1990, 1993 The Regents of the University of California."
|
echo " 1990, 1993 The Regents of the University of California."
|
||||||
echo "License: BSD-2-Clause"
|
echo "License: BSD-2-Clause"
|
||||||
|
|
16
builddebdev
16
builddebdev
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright {c} 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
# Copyright {c} 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
# are met:
|
# are met:
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
# notice, this list of conditions and the following disclaimer in the
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
# documentation and/or other materials provided with the distribution.
|
# documentation and/or other materials provided with the distribution.
|
||||||
#
|
#
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
@ -23,10 +23,10 @@
|
||||||
# LIABILITY, OR TORT {INCLUDING NEGLIGENCE OR OTHERWISE} ARISING IN ANY WAY
|
# LIABILITY, OR TORT {INCLUDING NEGLIGENCE OR OTHERWISE} ARISING IN ANY WAY
|
||||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
# SUCH DAMAGE.
|
# SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
# Project homepage:
|
# Project homepage:
|
||||||
# https://amath.innolan.net
|
# https://amath.innolan.net
|
||||||
#
|
#
|
||||||
|
|
||||||
# THIS SCRIPT IS NOT READY FOR PRODUCTION !
|
# THIS SCRIPT IS NOT READY FOR PRODUCTION !
|
||||||
|
|
||||||
|
@ -147,9 +147,9 @@ chmod 0755 amath/DEBIAN/control
|
||||||
echo "Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/"
|
echo "Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/"
|
||||||
echo "Upstream-Name: amath-dev"
|
echo "Upstream-Name: amath-dev"
|
||||||
echo "Source: https://amath.innolan.net"
|
echo "Source: https://amath.innolan.net"
|
||||||
echo
|
echo
|
||||||
echo "Files: *"
|
echo "Files: *"
|
||||||
echo "Copyright: 2014-2018 Carsten Sonne Larsen <cs@innolan.net>"
|
echo "Copyright: 2014-2021 Carsten Sonne Larsen <cs@innolan.net>"
|
||||||
echo " 2007 The NetBSD Foundation, Inc."
|
echo " 2007 The NetBSD Foundation, Inc."
|
||||||
echo " 1990, 1993 The Regents of the University of California."
|
echo " 1990, 1993 The Regents of the University of California."
|
||||||
echo "License: BSD-2-Clause"
|
echo "License: BSD-2-Clause"
|
||||||
|
|
|
@ -2,19 +2,19 @@
|
||||||
## language english
|
## language english
|
||||||
## codeset 0
|
## codeset 0
|
||||||
; #############################################################################
|
; #############################################################################
|
||||||
; Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
; Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
; All rights reserved.
|
; All rights reserved.
|
||||||
;
|
;
|
||||||
; Redistribution and use in source and binary forms, with or without
|
; Redistribution and use in source and binary forms, with or without
|
||||||
; modification, are permitted provided that the following conditions are met:
|
; modification, are permitted provided that the following conditions are met:
|
||||||
;
|
;
|
||||||
; * Redistributions of source code must retain the above copyright notice, this
|
; * Redistributions of source code must retain the above copyright notice, this
|
||||||
; list of conditions and the following disclaimer.
|
; list of conditions and the following disclaimer.
|
||||||
;
|
;
|
||||||
; * Redistributions in binary form must reproduce the above copyright notice,
|
; * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
; this list of conditions and the following disclaimer in the documentation
|
; this list of conditions and the following disclaimer in the documentation
|
||||||
; and/or other materials provided with the distribution.
|
; and/or other materials provided with the distribution.
|
||||||
;
|
;
|
||||||
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
|
|
@ -2,19 +2,19 @@
|
||||||
## language english
|
## language english
|
||||||
## codeset 0
|
## codeset 0
|
||||||
; #############################################################################
|
; #############################################################################
|
||||||
; Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
; Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
; All rights reserved.
|
; All rights reserved.
|
||||||
;
|
;
|
||||||
; Redistribution and use in source and binary forms, with or without
|
; Redistribution and use in source and binary forms, with or without
|
||||||
; modification, are permitted provided that the following conditions are met:
|
; modification, are permitted provided that the following conditions are met:
|
||||||
;
|
;
|
||||||
; * Redistributions of source code must retain the above copyright notice, this
|
; * Redistributions of source code must retain the above copyright notice, this
|
||||||
; list of conditions and the following disclaimer.
|
; list of conditions and the following disclaimer.
|
||||||
;
|
;
|
||||||
; * Redistributions in binary form must reproduce the above copyright notice,
|
; * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
; this list of conditions and the following disclaimer in the documentation
|
; this list of conditions and the following disclaimer in the documentation
|
||||||
; and/or other materials provided with the distribution.
|
; and/or other materials provided with the distribution.
|
||||||
;
|
;
|
||||||
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright {c} 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
# Copyright {c} 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_H
|
#ifndef AMATH_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATHC_H
|
#ifndef AMATHC_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATHT_H
|
#ifndef AMATHT_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amathc.h"
|
#include "amathc.h"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
.\" Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
.\" Redistribution and use in source and binary forms, with or without
|
.\" Redistribution and use in source and binary forms, with or without
|
||||||
.\" modification, are permitted provided that the following conditions
|
.\" modification, are permitted provided that the following conditions
|
||||||
.\" are met:
|
.\" are met:
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||||
.\" notice, this list of conditions and the following disclaimer in the
|
.\" notice, this list of conditions and the following disclaimer in the
|
||||||
.\" documentation and/or other materials provided with the distribution.
|
.\" documentation and/or other materials provided with the distribution.
|
||||||
.\"
|
.\"
|
||||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
@ -82,7 +82,7 @@ amathc.h \- C functions for manipulating strings and memory
|
||||||
.PP
|
.PP
|
||||||
.SS "unsigned int AllocAndCopy (char ** destination, const char * source)"
|
.SS "unsigned int AllocAndCopy (char ** destination, const char * source)"
|
||||||
.PP
|
.PP
|
||||||
Allocate memory and copy a string into the array\&.
|
Allocate memory and copy a string into the array\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 40 of file alloccpy\&.c\&.
|
Definition at line 40 of file alloccpy\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -90,32 +90,32 @@ Definition at line 40 of file alloccpy\&.c\&.
|
||||||
41 {
|
41 {
|
||||||
42 char *i, *s, *d;
|
42 char *i, *s, *d;
|
||||||
43 unsigned int n, size;
|
43 unsigned int n, size;
|
||||||
44
|
44
|
||||||
45 if (source == nullptr)
|
45 if (source == nullptr)
|
||||||
46 {
|
46 {
|
||||||
47 *destination = nullptr;
|
47 *destination = nullptr;
|
||||||
48 return 0;
|
48 return 0;
|
||||||
49 }
|
49 }
|
||||||
50
|
50
|
||||||
51 i = (char*)source;
|
51 i = (char*)source;
|
||||||
52 s = (char*)source;
|
52 s = (char*)source;
|
||||||
53 while (*i)
|
53 while (*i)
|
||||||
54 i++;
|
54 i++;
|
||||||
55
|
55
|
||||||
56 n = (unsigned int)(i - s + 1);
|
56 n = (unsigned int)(i - s + 1);
|
||||||
57 size = n;
|
57 size = n;
|
||||||
58 *destination = AllocMemSafe(size);
|
58 *destination = AllocMemSafe(size);
|
||||||
59 d = *destination;
|
59 d = *destination;
|
||||||
60
|
60
|
||||||
64 while (n--)
|
64 while (n--)
|
||||||
65 *d++ = *s++;
|
65 *d++ = *s++;
|
||||||
67
|
67
|
||||||
68 return size;
|
68 return size;
|
||||||
69 }
|
69 }
|
||||||
.fi
|
.fi
|
||||||
.SS "void* AllocMemSafe (size_t)"
|
.SS "void* AllocMemSafe (size_t)"
|
||||||
.PP
|
.PP
|
||||||
Allocate memory and add it to the global memory list\&.
|
Allocate memory and add it to the global memory list\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 86 of file mem\&.c\&.
|
Definition at line 86 of file mem\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -123,7 +123,7 @@ Definition at line 86 of file mem\&.c\&.
|
||||||
87 {
|
87 {
|
||||||
88 struct MemoryBlock* newblock;
|
88 struct MemoryBlock* newblock;
|
||||||
89 size_t allocsize;
|
89 size_t allocsize;
|
||||||
90
|
90
|
||||||
91 if (list == nullptr)
|
91 if (list == nullptr)
|
||||||
92 {
|
92 {
|
||||||
93 list = (struct MemoryList*)ALLOC_MEM(sizeof(struct MemoryList));
|
93 list = (struct MemoryList*)ALLOC_MEM(sizeof(struct MemoryList));
|
||||||
|
@ -132,13 +132,13 @@ Definition at line 86 of file mem\&.c\&.
|
||||||
96 alloc_error("list", sizeof(struct MemoryList));
|
96 alloc_error("list", sizeof(struct MemoryList));
|
||||||
97 return 0;
|
97 return 0;
|
||||||
98 }
|
98 }
|
||||||
99
|
99
|
||||||
100 list->first = nullptr;
|
100 list->first = nullptr;
|
||||||
101 list->peak = 0;
|
101 list->peak = 0;
|
||||||
102 list->size = 0;
|
102 list->size = 0;
|
||||||
103 list->count = 0;
|
103 list->count = 0;
|
||||||
104 }
|
104 }
|
||||||
105
|
105
|
||||||
106 #ifdef P64BIT
|
106 #ifdef P64BIT
|
||||||
107 // Align to bytes of 8
|
107 // Align to bytes of 8
|
||||||
108 allocsize = (size + 7) & ~0x07;
|
108 allocsize = (size + 7) & ~0x07;
|
||||||
|
@ -146,14 +146,14 @@ Definition at line 86 of file mem\&.c\&.
|
||||||
110 // Align to bytes of 4
|
110 // Align to bytes of 4
|
||||||
111 allocsize = (size + 3) & ~0x03;
|
111 allocsize = (size + 3) & ~0x03;
|
||||||
112 #endif
|
112 #endif
|
||||||
113
|
113
|
||||||
114 newblock = (struct MemoryBlock*)ALLOC_MEM(sizeof(struct MemoryBlock));
|
114 newblock = (struct MemoryBlock*)ALLOC_MEM(sizeof(struct MemoryBlock));
|
||||||
115 if (!newblock)
|
115 if (!newblock)
|
||||||
116 {
|
116 {
|
||||||
117 alloc_error("block", sizeof(struct MemoryBlock));
|
117 alloc_error("block", sizeof(struct MemoryBlock));
|
||||||
118 return 0;
|
118 return 0;
|
||||||
119 }
|
119 }
|
||||||
120
|
120
|
||||||
121 newblock->address = (struct MemoryBlock*)ALLOC_MEM(allocsize);
|
121 newblock->address = (struct MemoryBlock*)ALLOC_MEM(allocsize);
|
||||||
122 if (!newblock->address)
|
122 if (!newblock->address)
|
||||||
123 {
|
123 {
|
||||||
|
@ -161,25 +161,25 @@ Definition at line 86 of file mem\&.c\&.
|
||||||
125 alloc_error("memory", allocsize);
|
125 alloc_error("memory", allocsize);
|
||||||
126 return 0;
|
126 return 0;
|
||||||
127 }
|
127 }
|
||||||
128
|
128
|
||||||
129 newblock->size = allocsize;
|
129 newblock->size = allocsize;
|
||||||
130 newblock->next = list->first;
|
130 newblock->next = list->first;
|
||||||
131 list->first = newblock;
|
131 list->first = newblock;
|
||||||
132 list->size += allocsize;
|
132 list->size += allocsize;
|
||||||
133 list->count++;
|
133 list->count++;
|
||||||
134
|
134
|
||||||
135 if (list->size > list->peak)
|
135 if (list->size > list->peak)
|
||||||
136 {
|
136 {
|
||||||
137 list->peak = list->size;
|
137 list->peak = list->size;
|
||||||
138 }
|
138 }
|
||||||
139
|
139
|
||||||
140 // Memory allocated
|
140 // Memory allocated
|
||||||
141 return newblock->address;
|
141 return newblock->address;
|
||||||
142 }
|
142 }
|
||||||
.fi
|
.fi
|
||||||
.SS "void DetachMemSafe (void * block)"
|
.SS "void DetachMemSafe (void * block)"
|
||||||
.PP
|
.PP
|
||||||
Detach an allocated memory from the global memory list\&. The memory block is only detached, not deallocated\&.
|
Detach an allocated memory from the global memory list\&. The memory block is only detached, not deallocated\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 209 of file mem\&.c\&.
|
Definition at line 209 of file mem\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -190,19 +190,19 @@ Definition at line 209 of file mem\&.c\&.
|
||||||
.fi
|
.fi
|
||||||
.SS "void FreeAllSafe ()"
|
.SS "void FreeAllSafe ()"
|
||||||
.PP
|
.PP
|
||||||
Deallocate all memory in the global memory list\&.
|
Deallocate all memory in the global memory list\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 217 of file mem\&.c\&.
|
Definition at line 217 of file mem\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
218 {
|
218 {
|
||||||
219 struct MemoryBlock *current, *next;
|
219 struct MemoryBlock *current, *next;
|
||||||
220
|
220
|
||||||
221 if (list == nullptr)
|
221 if (list == nullptr)
|
||||||
222 {
|
222 {
|
||||||
223 return;
|
223 return;
|
||||||
224 }
|
224 }
|
||||||
225
|
225
|
||||||
226 current = list->first;
|
226 current = list->first;
|
||||||
227 while (current != nullptr)
|
227 while (current != nullptr)
|
||||||
228 {
|
228 {
|
||||||
|
@ -211,14 +211,14 @@ Definition at line 217 of file mem\&.c\&.
|
||||||
231 FREE_MEM(current);
|
231 FREE_MEM(current);
|
||||||
232 current = next;
|
232 current = next;
|
||||||
233 }
|
233 }
|
||||||
234
|
234
|
||||||
235 FREE_MEM(list);
|
235 FREE_MEM(list);
|
||||||
236 list = nullptr;
|
236 list = nullptr;
|
||||||
237 }
|
237 }
|
||||||
.fi
|
.fi
|
||||||
.SS "void FreeMemSafe (void *)"
|
.SS "void FreeMemSafe (void *)"
|
||||||
.PP
|
.PP
|
||||||
Deallocate memory from the global memory list\&.
|
Deallocate memory from the global memory list\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 200 of file mem\&.c\&.
|
Definition at line 200 of file mem\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -229,7 +229,7 @@ Definition at line 200 of file mem\&.c\&.
|
||||||
.fi
|
.fi
|
||||||
.SS "void MemCopy (void * destination, const void * source, unsigned int length)"
|
.SS "void MemCopy (void * destination, const void * source, unsigned int length)"
|
||||||
.PP
|
.PP
|
||||||
Copy a block of memory, handling overlap\&.
|
Copy a block of memory, handling overlap\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 75 of file memcpy\&.c\&.
|
Definition at line 75 of file memcpy\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -238,10 +238,10 @@ Definition at line 75 of file memcpy\&.c\&.
|
||||||
77 char* dst = (char*) destination;
|
77 char* dst = (char*) destination;
|
||||||
78 const char* src = (const char*) source;
|
78 const char* src = (const char*) source;
|
||||||
79 unsigned int t;
|
79 unsigned int t;
|
||||||
80
|
80
|
||||||
81 if (length == 0 || dst == src) // nothing to do
|
81 if (length == 0 || dst == src) // nothing to do
|
||||||
82 return;
|
82 return;
|
||||||
83
|
83
|
||||||
84 if ((mem_ptr)dst < (mem_ptr)src)
|
84 if ((mem_ptr)dst < (mem_ptr)src)
|
||||||
85 {
|
85 {
|
||||||
86 // Copy forward
|
86 // Copy forward
|
||||||
|
@ -254,14 +254,14 @@ Definition at line 75 of file memcpy\&.c\&.
|
||||||
96 else
|
96 else
|
||||||
97 t = wsize - (t & wmask);
|
97 t = wsize - (t & wmask);
|
||||||
98 length -= t;
|
98 length -= t;
|
||||||
99
|
99
|
||||||
100 TLOOP1(*dst++ = *src++);
|
100 TLOOP1(*dst++ = *src++);
|
||||||
101 }
|
101 }
|
||||||
102
|
102
|
||||||
103 // Copy whole words, then mop up any trailing bytes\&.
|
103 // Copy whole words, then mop up any trailing bytes\&.
|
||||||
104 t = length / wsize;
|
104 t = length / wsize;
|
||||||
105 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize);
|
105 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize);
|
||||||
106
|
106
|
||||||
107 t = length & wmask;
|
107 t = length & wmask;
|
||||||
108 TLOOP(*dst++ = *src++);
|
108 TLOOP(*dst++ = *src++);
|
||||||
110 }
|
110 }
|
||||||
|
@ -280,13 +280,13 @@ Definition at line 75 of file memcpy\&.c\&.
|
||||||
123 else
|
123 else
|
||||||
124 t &= wmask;
|
124 t &= wmask;
|
||||||
125 length -= t;
|
125 length -= t;
|
||||||
126
|
126
|
||||||
127 TLOOP1(*--dst = *--src);
|
127 TLOOP1(*--dst = *--src);
|
||||||
128 }
|
128 }
|
||||||
129
|
129
|
||||||
130 t = length / wsize;
|
130 t = length / wsize;
|
||||||
131 TLOOP(src -= wsize; dst -= wsize; *(word *)dst = *(word *)src);
|
131 TLOOP(src -= wsize; dst -= wsize; *(word *)dst = *(word *)src);
|
||||||
132
|
132
|
||||||
133 t = length & wmask;
|
133 t = length & wmask;
|
||||||
134 TLOOP(*--dst = *--src);
|
134 TLOOP(*--dst = *--src);
|
||||||
135 }
|
135 }
|
||||||
|
@ -294,7 +294,7 @@ Definition at line 75 of file memcpy\&.c\&.
|
||||||
.fi
|
.fi
|
||||||
.SS "void MemSet (void * destination, int c0, unsigned int length)"
|
.SS "void MemSet (void * destination, int c0, unsigned int length)"
|
||||||
.PP
|
.PP
|
||||||
Fill block of memory with a constant value\&.
|
Fill block of memory with a constant value\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 56 of file memset\&.c\&.
|
Definition at line 56 of file memset\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -303,7 +303,7 @@ Definition at line 56 of file memset\&.c\&.
|
||||||
58 unsigned char* dst = (unsigned char*) dst0;
|
58 unsigned char* dst = (unsigned char*) dst0;
|
||||||
59 unsigned int t;
|
59 unsigned int t;
|
||||||
60 unsigned int c;
|
60 unsigned int c;
|
||||||
61
|
61
|
||||||
62 /*
|
62 /*
|
||||||
63 * If not enough words, just fill bytes\&. A length >= 2 words
|
63 * If not enough words, just fill bytes\&. A length >= 2 words
|
||||||
64 * guarantees that at least one of them is `complete' after
|
64 * guarantees that at least one of them is `complete' after
|
||||||
|
@ -325,7 +325,7 @@ Definition at line 56 of file memset\&.c\&.
|
||||||
80 --length;
|
80 --length;
|
||||||
81 }
|
81 }
|
||||||
82 }
|
82 }
|
||||||
83
|
83
|
||||||
84 if ((c = (unsigned char)c0) != 0)
|
84 if ((c = (unsigned char)c0) != 0)
|
||||||
85 { /* Fill the word\&. */
|
85 { /* Fill the word\&. */
|
||||||
86 c = (c << 8) | c; /* u_int is 16 bits\&. */
|
86 c = (c << 8) | c; /* u_int is 16 bits\&. */
|
||||||
|
@ -336,7 +336,7 @@ Definition at line 56 of file memset\&.c\&.
|
||||||
91 c = (c << 32) | c; /* u_int is 64 bits\&. */
|
91 c = (c << 32) | c; /* u_int is 64 bits\&. */
|
||||||
92 #endif
|
92 #endif
|
||||||
93 }
|
93 }
|
||||||
94
|
94
|
||||||
95 /* Align destination by filling in bytes\&. */
|
95 /* Align destination by filling in bytes\&. */
|
||||||
96 if ((t = (mem_ptr)dst & wmask) != 0)
|
96 if ((t = (mem_ptr)dst & wmask) != 0)
|
||||||
97 {
|
97 {
|
||||||
|
@ -348,7 +348,7 @@ Definition at line 56 of file memset\&.c\&.
|
||||||
103 }
|
103 }
|
||||||
104 while (--t != 0);
|
104 while (--t != 0);
|
||||||
105 }
|
105 }
|
||||||
106
|
106
|
||||||
107 /* Fill words\&. Length was >= 2*words so we know t >= 1 here\&. */
|
107 /* Fill words\&. Length was >= 2*words so we know t >= 1 here\&. */
|
||||||
108 t = length / wsize;
|
108 t = length / wsize;
|
||||||
109 do
|
109 do
|
||||||
|
@ -357,7 +357,7 @@ Definition at line 56 of file memset\&.c\&.
|
||||||
112 dst += wsize;
|
112 dst += wsize;
|
||||||
113 }
|
113 }
|
||||||
114 while (--t != 0);
|
114 while (--t != 0);
|
||||||
115
|
115
|
||||||
116 /* Mop up trailing bytes, if any\&. */
|
116 /* Mop up trailing bytes, if any\&. */
|
||||||
117 t = length & wmask;
|
117 t = length & wmask;
|
||||||
118 if (t != 0)
|
118 if (t != 0)
|
||||||
|
@ -370,7 +370,7 @@ Definition at line 56 of file memset\&.c\&.
|
||||||
.fi
|
.fi
|
||||||
.SS "void MemUsage (long *, long *, long *)"
|
.SS "void MemUsage (long *, long *, long *)"
|
||||||
.PP
|
.PP
|
||||||
Get memory usage in the global memory list\&.
|
Get memory usage in the global memory list\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 242 of file mem\&.c\&.
|
Definition at line 242 of file mem\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -383,26 +383,26 @@ Definition at line 242 of file mem\&.c\&.
|
||||||
.fi
|
.fi
|
||||||
.SS "bool StrIsEqual (const char * s1, const char * s2)"
|
.SS "bool StrIsEqual (const char * s1, const char * s2)"
|
||||||
.PP
|
.PP
|
||||||
Compare two null terminated strings to each other\&.
|
Compare two null terminated strings to each other\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 50 of file strcmp\&.c\&.
|
Definition at line 50 of file strcmp\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
51 {
|
51 {
|
||||||
52 int r;
|
52 int r;
|
||||||
53
|
53
|
||||||
54 while (*s1 == *s2++)
|
54 while (*s1 == *s2++)
|
||||||
55 if (*s1++ == '\0')
|
55 if (*s1++ == '\0')
|
||||||
56 return true;
|
56 return true;
|
||||||
57
|
57
|
||||||
58 r = (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
|
58 r = (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
|
||||||
59
|
59
|
||||||
60 return r == 0;
|
60 return r == 0;
|
||||||
61 }
|
61 }
|
||||||
.fi
|
.fi
|
||||||
.SS "int StrLen (const char * string)"
|
.SS "int StrLen (const char * string)"
|
||||||
.PP
|
.PP
|
||||||
Get the length of a null terminated string\&.
|
Get the length of a null terminated string\&.
|
||||||
.PP
|
.PP
|
||||||
Definition at line 34 of file strlen\&.c\&.
|
Definition at line 34 of file strlen\&.c\&.
|
||||||
.PP
|
.PP
|
||||||
|
@ -424,10 +424,10 @@ Definition at line 32 of file untag\&.c\&.
|
||||||
34 const char *pos, *tmp, *tag;
|
34 const char *pos, *tmp, *tag;
|
||||||
35 char* dest;
|
35 char* dest;
|
||||||
36 int unsigned i, j, found;
|
36 int unsigned i, j, found;
|
||||||
37
|
37
|
||||||
38 pos = source;
|
38 pos = source;
|
||||||
39 dest = destination;
|
39 dest = destination;
|
||||||
40
|
40
|
||||||
41 while (*pos != '\0')
|
41 while (*pos != '\0')
|
||||||
42 {
|
42 {
|
||||||
43 if (*pos != '#')
|
43 if (*pos != '#')
|
||||||
|
@ -449,7 +449,7 @@ Definition at line 32 of file untag\&.c\&.
|
||||||
59 tag++;
|
59 tag++;
|
||||||
60 j++;
|
60 j++;
|
||||||
61 }
|
61 }
|
||||||
62
|
62
|
||||||
63 if (j > 1 && *(--tag) == '#')
|
63 if (j > 1 && *(--tag) == '#')
|
||||||
64 {
|
64 {
|
||||||
65 // Tag found\&. Now replace\&.
|
65 // Tag found\&. Now replace\&.
|
||||||
|
@ -461,7 +461,7 @@ Definition at line 32 of file untag\&.c\&.
|
||||||
71 break;
|
71 break;
|
||||||
72 }
|
72 }
|
||||||
73 }
|
73 }
|
||||||
74
|
74
|
||||||
75 if (!found)
|
75 if (!found)
|
||||||
76 {
|
76 {
|
||||||
77 (*dest++ = *pos++);
|
77 (*dest++ = *pos++);
|
||||||
|
@ -479,7 +479,7 @@ Written by Carsten Sonne Larsen <cs@innolan.net>. The code in MemSet and
|
||||||
MemCopy is derived from software contributed to Berkeley by Mike Hibler and
|
MemCopy is derived from software contributed to Berkeley by Mike Hibler and
|
||||||
Chris Torek.
|
Chris Torek.
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
.br
|
.br
|
||||||
Copyright (c) 2007 The NetBSD Foundation, Inc.
|
Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
.br
|
.br
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amathc.h"
|
#include "amathc.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 1990, 1993 The Regents of the University of California.
|
* Copyright (c) 1990, 1993 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 1990, 1993 The Regents of the University of California.
|
* Copyright (c) 1990, 1993 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amathc.h"
|
#include "amathc.h"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "prim.h"
|
#include "prim.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_LIB_COMPLEX_PRIM_H
|
#ifndef AMATH_LIB_COMPLEX_PRIM_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amath.h"
|
#include "amath.h"
|
||||||
|
@ -190,7 +190,7 @@ const char* AnsiConoleEngine::ProcessChar(const unsigned char character)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
out->Append(DELETE1CHARASC);
|
out->Append(DELETE1CHARASC);
|
||||||
}
|
}
|
||||||
endpos--;
|
endpos--;
|
||||||
linebuf->ptr = endpos;
|
linebuf->ptr = endpos;
|
||||||
|
@ -234,7 +234,7 @@ const char* AnsiConoleEngine::ProcessChar(const unsigned char character)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
out->Append(DELETE1CHARASC);
|
out->Append(DELETE1CHARASC);
|
||||||
}
|
}
|
||||||
cursor--;
|
cursor--;
|
||||||
endpos--;
|
endpos--;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_ANSI_CONSOLE_ENGINE
|
#ifndef AMATH_ANSI_CONSOLE_ENGINE
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_CHAR_VALIDATOR_H
|
#ifndef AMATH_CHAR_VALIDATOR_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mathr.h"
|
#include "mathr.h"
|
||||||
|
@ -139,7 +139,7 @@ bool ComplexNumber::IsInfinite()
|
||||||
double b = cimag(z);
|
double b = cimag(z);
|
||||||
|
|
||||||
// Handle subnormal values
|
// Handle subnormal values
|
||||||
bool subInf =
|
bool subInf =
|
||||||
(a > 0 && a <= 1e-308) || (a < 0 && a >= -1e-308) ||
|
(a > 0 && a <= 1e-308) || (a < 0 && a >= -1e-308) ||
|
||||||
(b > 0 && b <= 1e-308) || (b < 0 && b >= -1e-308);
|
(b > 0 && b <= 1e-308) || (b < 0 && b >= -1e-308);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_COMPLEX_NUMBER_H
|
#ifndef AMATH_COMPLEX_NUMBER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "numb.h"
|
#include "numb.h"
|
||||||
|
@ -202,12 +202,12 @@ Number* NonNumber::Secant()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Trigonometric tangent function
|
* @brief Trigonometric tangent function
|
||||||
*
|
*
|
||||||
* Tangent of +INF and -INF is NaN (with signals).
|
* Tangent of +INF and -INF is NaN (with signals).
|
||||||
* Tangent of NaN is NaN.
|
* Tangent of NaN is NaN.
|
||||||
*
|
*
|
||||||
* Signals are not implemented.
|
* Signals are not implemented.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
Number* NonNumber::Tangent()
|
Number* NonNumber::Tangent()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_NON_NUMBER_H
|
#ifndef AMATH_NON_NUMBER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ntext.h"
|
#include "ntext.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_NUMERAL_H
|
#ifndef AMATH_NUMERAL_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -121,7 +121,7 @@ const char *DecimalSystem::GetText(double number) const
|
||||||
double dexponent = log10(fabs(number));
|
double dexponent = log10(fabs(number));
|
||||||
int32_t precision = digits - (int32_t)trunc(dexponent) - 1;
|
int32_t precision = digits - (int32_t)trunc(dexponent) - 1;
|
||||||
int32_t lim = 15;
|
int32_t lim = 15;
|
||||||
bool sci = (dexponent > 9.0 || dexponent < -8.0);
|
bool sci = (dexponent > 9.0 || dexponent < -8.0);
|
||||||
if (sci)
|
if (sci)
|
||||||
{
|
{
|
||||||
precision = digits;
|
precision = digits;
|
||||||
|
@ -136,7 +136,7 @@ const char *DecimalSystem::GetText(double number) const
|
||||||
{
|
{
|
||||||
precision = lim;
|
precision = lim;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const int size = 64;
|
static const int size = 64;
|
||||||
char *out = new char[size];
|
char *out = new char[size];
|
||||||
char *pOutBuffer = out;
|
char *pOutBuffer = out;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_NUMERAL_DECIMAL_H
|
#ifndef AMATH_NUMERAL_DECIMAL_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amath.h"
|
#include "amath.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_NUMERAL_POSITIONAL_H
|
#ifndef AMATH_NUMERAL_POSITIONAL_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_NUMBER_H
|
#ifndef AMATH_NUMBER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mathr.h"
|
#include "mathr.h"
|
||||||
|
@ -345,7 +345,7 @@ Number *RealNumber::CubeRoot()
|
||||||
{
|
{
|
||||||
if (x >= 0.0)
|
if (x >= 0.0)
|
||||||
return new RealNumber(cbrt(x));
|
return new RealNumber(cbrt(x));
|
||||||
|
|
||||||
Number *n = new ComplexNumber(x, 0);
|
Number *n = new ComplexNumber(x, 0);
|
||||||
Number *r = n->CubeRoot();
|
Number *r = n->CubeRoot();
|
||||||
delete n;
|
delete n;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_REAL_NUMBER_H
|
#ifndef AMATH_REAL_NUMBER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_LOCALE_HELP_H
|
#ifndef AMATH_LOCALE_HELP_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_LOCALE_IDENT_H
|
#ifndef AMATH_LOCALE_IDENT_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_LOCALE_KEYWORD_H
|
#ifndef AMATH_LOCALE_KEYWORD_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_LOCALE_TEXT_H
|
#ifndef AMATH_LOCALE_TEXT_H
|
||||||
|
|
22
src/main.cpp
22
src/main.cpp
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amath.h"
|
#include "amath.h"
|
||||||
|
@ -108,7 +108,7 @@ int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
Program = new TestProgram(true);
|
Program = new TestProgram(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if defined(AMIGA)
|
#if defined(AMIGA)
|
||||||
|
@ -123,28 +123,28 @@ int main(int argc, char** argv)
|
||||||
Program = new StandardProgram();
|
Program = new StandardProgram();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Program->Initialize(argc, argv);
|
Program->Initialize(argc, argv);
|
||||||
Program->Start();
|
Program->Start();
|
||||||
|
|
||||||
int exit = Program->GetExitStatus();
|
int exit = Program->GetExitStatus();
|
||||||
|
|
||||||
#if defined(AMIGA)
|
#if defined(AMIGA)
|
||||||
if (DosBase != nullptr)
|
if (DosBase != nullptr)
|
||||||
CloseLibrary((struct Library*)DosBase);
|
CloseLibrary((struct Library*)DosBase);
|
||||||
|
|
||||||
if (LocaleBase != nullptr)
|
if (LocaleBase != nullptr)
|
||||||
CloseLibrary((struct Library*)LocaleBase);
|
CloseLibrary((struct Library*)LocaleBase);
|
||||||
|
|
||||||
if (GfxBase != nullptr)
|
if (GfxBase != nullptr)
|
||||||
CloseLibrary((struct Library*)GfxBase);
|
CloseLibrary((struct Library*)GfxBase);
|
||||||
|
|
||||||
if (IntuitionBase != nullptr)
|
if (IntuitionBase != nullptr)
|
||||||
CloseLibrary((struct Library*)IntuitionBase);
|
CloseLibrary((struct Library*)IntuitionBase);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
delete Program;
|
delete Program;
|
||||||
FreeAllSafe();
|
FreeAllSafe();
|
||||||
|
|
||||||
return exit;
|
return exit;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -223,9 +223,9 @@
|
||||||
\section license_sec License
|
\section license_sec License
|
||||||
amath is using a permissive free software licenses.
|
amath is using a permissive free software licenses.
|
||||||
|
|
||||||
\subsection license_bsd BSD License
|
\subsection license_bsd BSD License
|
||||||
<BLOCKQUOTE><PRE>
|
<BLOCKQUOTE><PRE>
|
||||||
Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
Copyright (c) 2007 The NetBSD Foundation, Inc.
|
Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
Copyright (c) 1990, 1993 The Regents of the University of California.
|
Copyright (c) 1990, 1993 The Regents of the University of California.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amath.h"
|
#include "amath.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_EVALUATOR_H
|
#ifndef AMATH_EVALUATOR_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "fgrid.h"
|
#include "fgrid.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_GRID_H
|
#ifndef AMATH_GRID_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "absolute.h"
|
#include "absolute.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ABSOLUTE_H
|
#ifndef AMATH_FUNCTION_ABSOLUTE_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "aexcosecant.h"
|
#include "aexcosecant.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCEXCOSECANT_H
|
#ifndef AMATH_FUNCTION_ARCEXCOSECANT_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief An inverse excosecant function in a syntax tree.
|
* @brief An inverse excosecant function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the excosecant function is available at Wikipedia:
|
* More info on the excosecant function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Excosecant
|
* https://wikipedia.org/wiki/Excosecant
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "aexsecant.h"
|
#include "aexsecant.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCEXSECANT_H
|
#ifndef AMATH_FUNCTION_ARCEXSECANT_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief An inverse exsecant function in a syntax tree.
|
* @brief An inverse exsecant function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the exsecant function is available at Wikipedia:
|
* More info on the exsecant function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Exsecant
|
* https://wikipedia.org/wiki/Exsecant
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arcchord.h"
|
#include "arcchord.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCCHORD_H
|
#ifndef AMATH_FUNCTION_ARCCHORD_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief An inverse chord function in a syntax tree.
|
* @brief An inverse chord function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the inverse chord function is available at Wikipedia:
|
* More info on the inverse chord function is available at Wikipedia:
|
||||||
* https://en.wikipedia.org/wiki/Chord_(geometry)
|
* https://en.wikipedia.org/wiki/Chord_(geometry)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arccos.h"
|
#include "arccos.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCCOSINE_H
|
#ifndef AMATH_FUNCTION_ARCCOSINE_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief A arccosine function in a syntax tree.
|
* @brief A arccosine function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the arccosine function is available at Wikipedia:
|
* More info on the arccosine function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Arccosine
|
* https://wikipedia.org/wiki/Arccosine
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arccosecant.h"
|
#include "arccosecant.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCCOSECANT_H
|
#ifndef AMATH_FUNCTION_ARCCOSECANT_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief A arccosecant function in a syntax tree.
|
* @brief A arccosecant function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the arccosecant function is available at Wikipedia:
|
* More info on the arccosecant function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Arccosecant
|
* https://wikipedia.org/wiki/Arccosecant
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arccotangent.h"
|
#include "arccotangent.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCCOTANGENT_H
|
#ifndef AMATH_FUNCTION_ARCCOTANGENT_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief A arccotangent function in a syntax tree.
|
* @brief A arccotangent function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the arccotangent function is available at Wikipedia:
|
* More info on the arccotangent function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Arccotangent
|
* https://wikipedia.org/wiki/Arccotangent
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arccovercosine.h"
|
#include "arccovercosine.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCCOVERSEDCOSINE_H
|
#ifndef AMATH_FUNCTION_ARCCOVERSEDCOSINE_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief An inverse coversed cosine function in a syntax tree.
|
* @brief An inverse coversed cosine function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the coversed cosine function is available at Wikipedia:
|
* More info on the coversed cosine function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Covercosine
|
* https://wikipedia.org/wiki/Covercosine
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arccoversine.h"
|
#include "arccoversine.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
|
* Copyright (c) 2014-2021 Carsten Sonne Larsen <cs@innolan.net>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
*
|
*
|
||||||
* Project homepage:
|
* Project homepage:
|
||||||
* https://amath.innolan.net
|
* https://amath.innolan.net
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMATH_FUNCTION_ARCCOVERSEDSINE_H
|
#ifndef AMATH_FUNCTION_ARCCOVERSEDSINE_H
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief An inverse coversed sine function in a syntax tree.
|
* @brief An inverse coversed sine function in a syntax tree.
|
||||||
* @details
|
* @details
|
||||||
* More info on the coversed sine function is available at Wikipedia:
|
* More info on the coversed sine function is available at Wikipedia:
|
||||||
* https://wikipedia.org/wiki/Coversine
|
* https://wikipedia.org/wiki/Coversine
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue