<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="math_8h" kind="file" language="C++"> <compoundname>math.h</compoundname> <includes refid="include_2sys_2types_8h" local="no">sys/types.h</includes> <includedby refid="atan_8c" local="no">C:/Dev/git/UbixOS/sys/lib/atan.c</includedby> <includedby refid="divdi3_8c" local="no">C:/Dev/git/UbixOS/sys/lib/divdi3.c</includedby> <incdepgraph> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/math.h</label> <link refid="math_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="4"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="8"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="2"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="5"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="3"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="6"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="7"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="3" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/math.h</label> <link refid="math_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> </node> <node id="3"> <label>C:/Dev/git/UbixOS/sys/lib/divdi3.c</label> <link refid="divdi3_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/lib/atan.c</label> <link refid="atan_8c"/> </node> </invincdepgraph> <sectiondef kind="func"> <memberdef kind="function" id="math_8h_1a4a8c5f9eac2f7dbabb3b6eefb0da4e80" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1aed1098ccbc33ac9e2fe61c0feed081bc" kindref="member">quad_t</ref></type> <definition>quad_t __divdi3</definition> <argsstring>(quad_t a, quad_t b)</argsstring> <name>__divdi3</name> <param> <type><ref refid="include_2sys_2types_8h_1aed1098ccbc33ac9e2fe61c0feed081bc" kindref="member">quad_t</ref></type> <declname>a</declname> </param> <param> <type><ref refid="include_2sys_2types_8h_1aed1098ccbc33ac9e2fe61c0feed081bc" kindref="member">quad_t</ref></type> <declname>b</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/math.h" line="40" column="8" bodyfile="C:/Dev/git/UbixOS/sys/lib/divdi3.c" bodystart="35" bodyend="37" declfile="C:/Dev/git/UbixOS/sys/include/math.h" declline="40" declcolumn="8"/> </memberdef> <memberdef kind="function" id="math_8h_1aa99260684308a8f99235c4cff39c9e92" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1a289ae7cf9c95157e99202b0057d4935c" kindref="member">u_quad_t</ref></type> <definition>u_quad_t __udivdi3</definition> <argsstring>(u_quad_t a, u_quad_t b)</argsstring> <name>__udivdi3</name> <param> <type><ref refid="include_2sys_2types_8h_1a289ae7cf9c95157e99202b0057d4935c" kindref="member">u_quad_t</ref></type> <declname>a</declname> </param> <param> <type><ref refid="include_2sys_2types_8h_1a289ae7cf9c95157e99202b0057d4935c" kindref="member">u_quad_t</ref></type> <declname>b</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/math.h" line="39" column="10" bodyfile="C:/Dev/git/UbixOS/sys/lib/divdi3.c" bodystart="31" bodyend="33" declfile="C:/Dev/git/UbixOS/sys/include/math.h" declline="39" declcolumn="10"/> </memberdef> <memberdef kind="function" id="math_8h_1a1e2f8f6d64eaa95131bc63fee34970ea" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>double</type> <definition>double atan</definition> <argsstring>(double x)</argsstring> <name>atan</name> <param> <type>double</type> <declname>x</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/math.h" line="37" column="8" bodyfile="C:/Dev/git/UbixOS/sys/lib/atan.c" bodystart="31" bodyend="33" declfile="C:/Dev/git/UbixOS/sys/include/math.h" declline="37" declcolumn="8"/> </memberdef> <memberdef kind="function" id="math_8h_1ab87521a75ef827a85807f89a6c10629a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>double</type> <definition>double sqrt</definition> <argsstring>(double x)</argsstring> <name>sqrt</name> <param> <type>double</type> <declname>x</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/math.h" line="38" column="8" bodyfile="C:/Dev/git/UbixOS/sys/lib/sqrt.c" bodystart="29" bodyend="31" declfile="C:/Dev/git/UbixOS/sys/include/math.h" declline="38" declcolumn="8"/> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*-</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2002-2018<sp/>The<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>*<sp/>This<sp/>was<sp/>developed<sp/>by<sp/>Christopher<sp/>W.<sp/>Olsen<sp/>for<sp/>the<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are<sp/>permitted</highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>*<sp/>1)<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>*<sp/>2)<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline> <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>3)<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its<sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to</highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>permission.</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>*<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>*<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>*<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline> <codeline lineno="25"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT</highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="27"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="28"><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>__MATH_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>__MATH_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="31"><highlight class="normal"></highlight></codeline> <codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2sys_2types_8h" kindref="compound">sys/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight></codeline> <codeline lineno="34"><highlight class="normal"></highlight><highlight class="comment">//typedef<sp/>long<sp/>long<sp/>int<sp/>quad_t;</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="35"><highlight class="normal"></highlight><highlight class="comment">//typedef<sp/>unsigned<sp/>long<sp/>long<sp/>int<sp/>u_quad_t;</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="36"><highlight class="normal"></highlight></codeline> <codeline lineno="37"><highlight class="normal"></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="math_8h_1a1e2f8f6d64eaa95131bc63fee34970ea" kindref="member">atan</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>x);</highlight></codeline> <codeline lineno="38"><highlight class="normal"></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="math_8h_1ab87521a75ef827a85807f89a6c10629a" kindref="member">sqrt</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>x);</highlight></codeline> <codeline lineno="39"><highlight class="normal"><ref refid="include_2sys_2types_8h_1a289ae7cf9c95157e99202b0057d4935c" kindref="member">u_quad_t</ref><sp/><ref refid="math_8h_1aa99260684308a8f99235c4cff39c9e92" kindref="member">__udivdi3</ref>(<ref refid="include_2sys_2types_8h_1a289ae7cf9c95157e99202b0057d4935c" kindref="member">u_quad_t</ref><sp/>a,<sp/><ref refid="include_2sys_2types_8h_1a289ae7cf9c95157e99202b0057d4935c" kindref="member">u_quad_t</ref><sp/>b);</highlight></codeline> <codeline lineno="40"><highlight class="normal"><ref refid="include_2sys_2types_8h_1aed1098ccbc33ac9e2fe61c0feed081bc" kindref="member">quad_t</ref><sp/><ref refid="math_8h_1a4a8c5f9eac2f7dbabb3b6eefb0da4e80" kindref="member">__divdi3</ref>(<ref refid="include_2sys_2types_8h_1aed1098ccbc33ac9e2fe61c0feed081bc" kindref="member">quad_t</ref><sp/>a,<sp/><ref refid="include_2sys_2types_8h_1aed1098ccbc33ac9e2fe61c0feed081bc" kindref="member">quad_t</ref><sp/>b);</highlight></codeline> <codeline lineno="41"><highlight class="normal"></highlight></codeline> <codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43"><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="45"><highlight class="comment"><sp/>$Log:<sp/>math.h,v<sp/>$</highlight></codeline> <codeline lineno="46"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2006/10/31<sp/>20:41:16<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="47"><highlight class="comment"><sp/>Includes</highlight></codeline> <codeline lineno="48"><highlight class="comment"></highlight></codeline> <codeline lineno="49"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2006/06/01<sp/>12:46:13<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="50"><highlight class="comment"><sp/>ubix2</highlight></codeline> <codeline lineno="51"><highlight class="comment"></highlight></codeline> <codeline lineno="52"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2005/10/12<sp/>00:13:36<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="53"><highlight class="comment"><sp/>Removed</highlight></codeline> <codeline lineno="54"><highlight class="comment"></highlight></codeline> <codeline lineno="55"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2005/09/26<sp/>17:23:38<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="56"><highlight class="comment"><sp/>no<sp/>message</highlight></codeline> <codeline lineno="57"><highlight class="comment"></highlight></codeline> <codeline lineno="58"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2004/05/21<sp/>15:22:35<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="59"><highlight class="comment"><sp/>Cleaned<sp/>up</highlight></codeline> <codeline lineno="60"><highlight class="comment"></highlight></codeline> <codeline lineno="61"><highlight class="comment"></highlight></codeline> <codeline lineno="62"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="63"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/math.h"/> </compounddef> </doxygen>