Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile-time example has an issue #40

Open
jido opened this issue Sep 17, 2024 · 0 comments
Open

Compile-time example has an issue #40

jido opened this issue Sep 17, 2024 · 0 comments

Comments

@jido
Copy link

jido commented Sep 17, 2024

Maybe I don't understand well, but how can the function run at compile time call a function that uses the compile-time generated table?

On this line:

<< it = real_linear_to_srgb(cast(float)it_index / SRGB_TABLE_SIZE)

The C code does something completely different and it certainly doesn't call real_linear_to_srgb().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant