Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <stdio.h>

int main( void ) {
float x[] = { 3.14f, -3.14f, 0.0f, 0.0f/0.0f };
const float x[] = { 3.14f, -3.14f, 0.0f, 0.0f/0.0f };

uint32_t word;
int i;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <inttypes.h>

int main( void ) {
double x[] = { 4.0, 0.0, -0.0, 1.0, -1.0, 3.14, -3.14, 1.0e308, -1.0e308, 1.0/0.0, -1.0/0.0, 0.0/0.0 };
const double x[] = { 4.0, 0.0, -0.0, 1.0, -1.0, 3.14, -3.14, 1.0e308, -1.0e308, 1.0/0.0, -1.0/0.0, 0.0/0.0 };

int32_t out;
int i;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ The union has the following members:
#include <stdio.h>

int main( void ) {
double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };
const double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };

uint32_t high;
uint32_t low;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <stdio.h>

int main( void ) {
double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };
const double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };

uint32_t high;
uint32_t low;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "stdlib/math/base/special/exp.h"

/**
* Evaluates the cumulative distribution function (CDF) for a Gumbel distribution with location parameter `mu` and scale parameter `beta` at a value `x`.
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Gumbel distribution with location parameter `mu` and scale parameter `beta` at a value `x`.
*
* @param x input value
* @param mu location parameter
Expand Down
Loading